Jump to content

[SOLVED] Blank Page when having website in two folders?


James142

Recommended Posts

Hello

I am trying to have phpvms in two separate folders on my website, but have them using the same MySQL database so both of them will show the same information in each folder (Long story short, I want the information from the .tpl files in the core/templates folder to show up different in the second folder)

Anyway, my problem is that when I have the

define('SITE_URL', 'http://www.yoursite.com/site1);

in the local.config file, I get a blank page. (It works fine when I have

define('SITE_URL', 'http://www.yoursite.com/);

but that shows the .tpl files from the main folder)

Does anyone know I fix to this?

Thanks,

James

Link to comment
Share on other sites

I feel so stupid, I decided to be lazy and use Cpanal to edit my local.config file, and without be noticing, It only uploads half of the file. I have also realized that this has being posted in the forums multiple time before.

I do apologise!

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...