Support Forums - Classified Ads Script Osclass
Unread
New Replies
Osclass Market
Download Osclass
Documentation
Home
Help
Search
Login
Register
help with 2 domain sharing same database; images not showing on one
Support Forums - Classified Ads Script Osclass
General osclass questions
General discussion
help with 2 domain sharing same database; images not showing on one
Match all words
Match any words
Most relevant results first
Largest topics first
Smallest topics first
Most recent topics first
Oldest topics first
Advanced
Unread posts
New replies
My topics
My posts
Print
Pages: [
1
]
Cephas
54 posts
help with 2 domain sharing same database; images not showing on one
«
on:
February 06, 2022, 08:15:16 PM »
Hello,
I have two domains that I want them to share the same database. Everything is working ok so far, except that with the second domain, the images uploaded by users are not showing (only a few of them are showing). Does any one know how I can solve this problem?
Logged
MB Themes
Support team
17388 posts
Only quality matters
Download Osclass
Re: help with 2 domain sharing same database; images not showing on one
«
Reply #1 on:
February 07, 2022, 09:19:37 AM »
@Cephas
You would need to replicate oc-content/uploads folder (besides database)
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Cephas
54 posts
Re: help with 2 domain sharing same database; images not showing on one
«
Reply #2 on:
February 07, 2022, 04:07:46 PM »
I have already replicated the oc-content/upload folder. But what happens is that, any new image that is posted on one website, does not show on the other. Can you show me where to modify the codes to indicate where uploaded image should be store? Then I can make it to store the uploaded image on both domains. I want the images to show up on both websites irrespective of which website the user listed on.
Logged
MB Themes
Support team
17388 posts
Only quality matters
Download Osclass
Re: help with 2 domain sharing same database; images not showing on one
«
Reply #3 on:
February 07, 2022, 04:10:08 PM »
@Cephas
Listing pictures are stored in oc-content/uploads/ folder (under subfolders 0, 1, 2, 3, 4, ....)
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Cephas
54 posts
Re: help with 2 domain sharing same database; images not showing on one
«
Reply #4 on:
February 07, 2022, 04:34:52 PM »
Thanks for the response. I have seen where it is stored. But I want where I can modify the codes to tell it to store on both domains instead of on one domain. I think I may need to add the directory to the other domain so that pictures are stored on both "domain A/oc-content/uploads/folder" and "domain B/oc-content/uploads/folder" irrespective of which website the item was listed.
Right now, when a user lists an item, the item shows in both domains. But pictures uploaded on website A do not show on website B and vice versa. I do not want to manually copy the pictures all the time.
Logged
MB Themes
Support team
17388 posts
Only quality matters
Download Osclass
Re: help with 2 domain sharing same database; images not showing on one
«
Reply #5 on:
February 07, 2022, 04:41:20 PM »
That is probably hour job to identifies this and assume if it is doable or not.
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
mwindey
475 posts
Re: help with 2 domain sharing same database; images not showing on one
«
Reply #6 on:
February 08, 2022, 09:50:29 AM »
What I wonder is how you can set 2 domains use the same database without being blocked with your API key?
Yesterday I did a fresh install of osclass without plugins and referenced the database of my domain with plugins. The plugins have to be purchased again for use on a 2nd domain but what if you only install the basic osclass?
I have been blocked for the second time with the message: API key validation error: You have used different domain in previous calls. OsclassPoint policy says that each premium product can be used on 1 domain only and account can be linked to 1 domain only. Domains used....
I hope this can be rectified again MB Themes?
Logged
MB Themes
Support team
17388 posts
Only quality matters
Download Osclass
Re: help with 2 domain sharing same database; images not showing on one
«
Reply #7 on:
February 08, 2022, 10:10:11 AM »
@mwindey
2 domains, 2 licenses.
I suppose not whole database will be replicated but just some tables.
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
mwindey
475 posts
Re: help with 2 domain sharing same database; images not showing on one
«
Reply #8 on:
February 08, 2022, 10:21:47 AM »
@MB Themes,
Well in my case i did not copy the database but i did set the config to the same database where my live site is...
I did not upload plugins to the other domain but off course they are in admin... I AM STUPID
sorry
Meanwhile i deleted everything so can this API key error be undone again please?
Logged
MB Themes
Support team
17388 posts
Only quality matters
Download Osclass
Re: help with 2 domain sharing same database; images not showing on one
«
Reply #9 on:
February 08, 2022, 10:26:48 AM »
[email protected]
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Print
Pages: [
1
]