This topic is locked

Two Projects With One Databse

8/21/2016 8:12:06 AM
PHPRunner General questions
M
mhollibush author

I have two projects that use the same database
Admin

Public
The Admin project is where all the data is entered and the security is setup - the Public project is view only with no security
Structure of the website
Public/Admin
Everything is working EXCEPT:
Any image field on the Public project.
The settings in the Admin project are to upload to the folder "../files/foldername/"
I have verified that the images are in the folder after upload.
on the Public side

I have the images pointing to the "files/foldername/"
I am stumped on why the public project cant see the images on any pages ( get the default "no image" )

jadachDevClub member 8/21/2016

You most likely need to enter the full path of the images folder for the public side.

When I have 2 or more projects using the same database, I store the images in the database.