Page 1 of 2
[SOLVED] Blank page after moving CMSMS to new server
Posted: Mon Oct 01, 2007 11:49 pm
by Milhaus
Hi,
I moved my CMSMS site from localhost to remote server. Made all settings, etc. When I tried to access it, I obtained blank page. So I turned Error reporting on and got these errors:
Code: Select all
/home/www/www/spolek/beta/include.php :: 57 :: Assigning the return value of new by reference is deprecated
/home/www/www/spolek/beta/include.php :: 128 :: Assigning the return value of new by reference is deprecated
/home/www/www/spolek/beta/include.php :: 206 :: Assigning the return value of new by reference is deprecated
I do not know, if this is problem,though. You can see
phpinfo of that server.
What should I do now?
EDIT:This problem is solved now. Please look at the last message in this thread.
Re: Blank page after moving CMSMS to new server
Posted: Tue Oct 02, 2007 7:06 am
by alby
Milhaus wrote:
Hi,
I moved my CMSMS site from localhost to remote server. Made all settings, etc. When I tried to access it, I obtained blank page. So I turned Error reporting on and got these errors:
Code: Select all
/home/www/www/spolek/beta/include.php :: 57 :: Assigning the return value of new by reference is deprecated
/home/www/www/spolek/beta/include.php :: 128 :: Assigning the return value of new by reference is deprecated
/home/www/www/spolek/beta/include.php :: 206 :: Assigning the return value of new by reference is deprecated
I do not know, if this is problem,though. You can see
phpinfo of that server.
What should I do now?
I don't know if is concern but you have safe mode On
Try, in php, with: ini_set('safe_mode', false);
(Pay attention becuase you have register_globals On)
Alby
Re: Blank page after moving CMSMS to new server
Posted: Thu Oct 04, 2007 11:58 pm
by peedub
I'm also having this same problem after copying the CMSMS folder from one XP Pro machine with XAMPPLite to another XP Pro machine also with XAMPPLite, both using the same path (c:\xampplite\htdocs).
I would also appreciate an explanation

.
Re: Blank page after moving CMSMS to new server
Posted: Fri Oct 05, 2007 8:09 am
by Milhaus
Hi,
thanks Alby, I tried it, but no success. Do you need more informations (e.g. server error logs)? I desperately need to solve this issue.
Re: Blank page after moving CMSMS to new server
Posted: Fri Oct 05, 2007 10:41 am
by alby
Milhaus wrote:
I tried it, but no success. Do you need more informations (e.g. server error logs)? I desperately need to solve this issue.
Yes.
- Check server error logs
- Match your data (path/url) in config.php
- Check presence of .htaccess in root folder
Alby
Re: Blank page after moving CMSMS to new server
Posted: Mon Oct 08, 2007 1:40 am
by peedub
Milhaus wrote:
Hi,
thanks Alby, I tried it, but no success. Do you need more informations (e.g. server error logs)? I desperately need to solve this issue.
Hi Milhaus,
I think what's going wrong here is that you've simply copy/pasted your CMS files to the server but without setting up the database.
You need to use your local machine's phpMyAdmin or similar export or "dump" your database to a file (.sql). Remember the name of the database which is used for the CMS. Then, go to your web server's control panel, go into phpMyAdmin and create a new database with the same name as your local machine's. Import the .sql file.
You may have to modify paths and such in your config.php file in your CMS root directory.
Now the website should actually have some data to display.
Let me know how that goes for ya

Re: Blank page after moving CMSMS to new server
Posted: Mon Oct 08, 2007 8:13 am
by Pierre M.
Hello Milhaus,
peedub wrote:
Hi Milhaus,
I think what's going wrong here is that you've simply copy/pasted your CMS files to the server but without setting up the database.
Really ? Milhaus, have a look at
the documentation.
Pierre M.
Re: Blank page after moving CMSMS to new server
Posted: Mon Oct 08, 2007 1:11 pm
by peedub
Yes, it would appear so.
Re: Blank page after moving CMSMS to new server
Posted: Mon Oct 08, 2007 8:27 pm
by Milhaus
peedub & Pierre M.: Thanks for help. I checked this and my config.php settings seem OK. I had error in my .htaccess configuration (didn't change rewrite_base) but I think now it is correct.
So it seems my only chance are server logs. I will post them here if I manage to get them.
Thanks once again,
Milhaus
Re: Blank page after moving CMSMS to new server
Posted: Tue Oct 09, 2007 11:11 am
by Milhaus
Hi again,
I was able to look to server logs (both for php and apache), but wasn't able to find any errors... Any other suggestions?
Again, I desperately need to solve this..
Milhaus
Re: Blank page after moving CMSMS to new server
Posted: Tue Oct 09, 2007 4:33 pm
by Pierre M.
Humm...
You hadn't reported this :
Code: Select all
/home/www/www/spolek/beta/index.php :: 28 :: Undefined variable: tohle
Is this CMSms' official code ?
With register globals ON you may have been hacked.
Secure your hosting, then try a reinstall. You may want to uncheck the "create tables" checkbox to keep your current content.
Pierre M.
Re: Blank page after moving CMSMS to new server
Posted: Tue Oct 09, 2007 7:33 pm
by Milhaus
Hi Pierre,
thanks for your suggestion. Error you mentioned is part of error output mode, which might help to solve this issue, so no hack. BTW. I plan to set register_globals off through .htaccess file (I can luckily do these changes, because we are on academic host).
I tried to install new installation, with same result - in this case I wasn't able to install, because of blank page. Blank page appeared, when folder permissions were OK, until that, errors of installer were appearing.
Milhaus
Re: Blank page after moving CMSMS to new server
Posted: Tue Oct 09, 2007 7:39 pm
by alby
Milhaus wrote:
thanks for your suggestion. Error you mentioned is part of error output mode, which might help to solve this issue, so no hack. BTW. I plan to set register_globals off through .htaccess file (I can luckily do these changes, because we are on academic host).
I tried to install new installation, with same result - in this case I wasn't able to install, because of blank page. Blank page appeared, when folder permissions were OK, until that, errors of installer were appearing.
Nothing in CMSMS 1.1.4.1.
You have a module with this. Try a CLEAN install.
Alby
EDIT: Pierre, where is this code? I lost something?
Pierre M. wrote:
You hadn't reported this :
Code: Select all
/home/www/www/spolek/beta/index.php :: 28 :: Undefined variable: tohle
Re: Blank page after moving CMSMS to new server
Posted: Tue Oct 09, 2007 7:50 pm
by Milhaus
Alby, thanks for suggestion. Please see my answer to Pierre higher.
Milhaus
BTW. I removed error reporting code from page, since it doesn't make any sense now (I think). Now you can see blank page again.
Re: Blank page after moving CMSMS to new server
Posted: Tue Oct 09, 2007 7:54 pm
by alby
Milhaus wrote:
Alby, thanks for suggestion. Please see my answer to Pierre higher.
BTW. I removed error reporting code from page, since it doesn't make any sense now (I think). Now you can see blank page again.
Ok, but you have installed a "clean" cmsms version?
In install have you all green check?
Alby