Uploaded from local and only a blank screen!!
Permalink
Mike/Anybody,
I've followed Mikes uploading instructions. I set up a new remote database and uploaded the local one no problem.
I have configured the site.php file as instructed which now looks like this:
<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'web171-igrieves');
define('DB_PASSWORD', 'rosebury');
define('DB_DATABASE', 'web171-igrieves');
define('BASE_URL', 'http://www.oxeyes.org');
define('DIR_REL','');
define('PASSWORD_SALT', 'BUNOQ9YbvqM7LcpTRIDftwA7gW2taC4KR4whLLgEqznTeABgRgHi7cOe7Y92DpiH');
define('PERMISSIONS_MODEL', 'advanced');
?>
It mirrors the site.php file on a succesful remote C5 installation I did to test C5 (except DB usernname and password obviously)
When I access my site:http://www.oxeyes.org all i get is a blank screen ( previous tries had got 'can't connect to database' at least!)
I have re uploaded all the C5 files just in case.
Any ideas please???
Ian
I've followed Mikes uploading instructions. I set up a new remote database and uploaded the local one no problem.
I have configured the site.php file as instructed which now looks like this:
<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'web171-igrieves');
define('DB_PASSWORD', 'rosebury');
define('DB_DATABASE', 'web171-igrieves');
define('BASE_URL', 'http://www.oxeyes.org');
define('DIR_REL','');
define('PASSWORD_SALT', 'BUNOQ9YbvqM7LcpTRIDftwA7gW2taC4KR4whLLgEqznTeABgRgHi7cOe7Y92DpiH');
define('PERMISSIONS_MODEL', 'advanced');
?>
It mirrors the site.php file on a succesful remote C5 installation I did to test C5 (except DB usernname and password obviously)
When I access my site:http://www.oxeyes.org all i get is a blank screen ( previous tries had got 'can't connect to database' at least!)
I have re uploaded all the C5 files just in case.
Any ideas please???
Ian
Dan,
Thanks for getting back to me. In response
1.yes my host does support localhost - it worked with my test system
2. what do you mean - no spaces in my index.php? The only code on the page is:
<?php
require('concrete/dispatcher.php');
3. I removed the permissions model line - no change.
Interestingly I cant see any source code on the index.php page when I try to view it live. This seems to indicate the page is not being read? If I load an html index page I can read that however!
So far no progress!!
Any more thoughts?
Ian
Thanks for getting back to me. In response
1.yes my host does support localhost - it worked with my test system
2. what do you mean - no spaces in my index.php? The only code on the page is:
<?php
require('concrete/dispatcher.php');
3. I removed the permissions model line - no change.
Interestingly I cant see any source code on the index.php page when I try to view it live. This seems to indicate the page is not being read? If I load an html index page I can read that however!
So far no progress!!
Any more thoughts?
Ian
#1 once you put the Advanced permission model line in your site.php do not remove it,
#2 i can see the site fine...
#2 i can see the site fine...
Dear MnKras,
I've deleted the site and re installed it from scratch so yes you can see it!!
Btw there is a line on the main set up page:
http://www.concrete5.org/documentation/installation/installing_conc...
where it tells you about installing advanced permissions. The line has an error:
<?php define('PERMISSIONS_MODEL', 'advanced'); ?>
The last ?> is not needed. When you use this line of code the site does not show. Remove it and it does. The line on the Permissions page is:
<?php define('PERMISSIONS_MODEL', 'advanced');
Hope this is of use.
Otherwise thanks for a great product and great support from the members, I have been very impressed, keep up the good work and I hope I can be of use to the newbs one day!!! Ian
I've deleted the site and re installed it from scratch so yes you can see it!!
Btw there is a line on the main set up page:
http://www.concrete5.org/documentation/installation/installing_conc...
where it tells you about installing advanced permissions. The line has an error:
<?php define('PERMISSIONS_MODEL', 'advanced'); ?>
The last ?> is not needed. When you use this line of code the site does not show. Remove it and it does. The line on the Permissions page is:
<?php define('PERMISSIONS_MODEL', 'advanced');
Hope this is of use.
Otherwise thanks for a great product and great support from the members, I have been very impressed, keep up the good work and I hope I can be of use to the newbs one day!!! Ian
FYI, there is nothing wrong with the instructions.
You simply had something after the closing ?>
Space, tab, newline, etc.
Same thing will happen if you have any before the opening <?php tag in most any PHP file.
Thought this might help somebody else down the line.
Johnhttp://www.steelesoftconsulting.com/...
You simply had something after the closing ?>
Space, tab, newline, etc.
Same thing will happen if you have any before the opening <?php tag in most any PHP file.
Thought this might help somebody else down the line.
Johnhttp://www.steelesoftconsulting.com/...
From my knowledge of php if you leave out the ending delimiter ?> the php parser will add the ending delimiter. This is why leaving out the ?> worked, but is not good practice. I will at times highlight the area up to the ending delimiter and then type back in the ?> to make sure no hidden characters are present.
Cheers
Cheers
I was just looking here but please tell me that wasn't your real login information in that post. :D
It was indeed. Been deleted now of course! Thanks for your concern.
1. check that your host supports the use of localhost for db connect name
2. check that there are no spaces in your index.php
3. try removing the line
thanks
dan