Jump to content
Guido

Whitescreen after importing settings

Recommended Posts

Guido    1
Guido

Hi,

 

i am not able to upload any settings.dat to my pagelines installation. This issue occurs on 2 different webservers and on any wp-installation (new installations without plugins). The error-logs dont have an entry according to this. We discussed it in the live chat and the moderator (i cannot remember her name) was able to import my .dat-file on her server - so the file itself is not the problem. I want to run my live-website with pagelines and therefore i need to import the settings from my sandbox-site. So i hope to solve the problem here in the forum.

 

I have made a new wp-installation to reproduce the issue - it is on www.neurofx.net/pagelines - please pm me for the login data. I hope you can find out the reason by uploading any settings.dat on this installation.

 

Regards, Guido

 

 

 

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

If one of our staff members were able to successfully install the theme settings file, this is most likely related to your servers configuration. Would it be possible for you to provide your servers php info as well as enable PageLines debug (Site Options > Advanced). Once you have provided this we will be able to investigate further.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Guido    1
Guido

Debug is enabled, php info see www.neurofx.net/info.php

 

The problem is at least on two different servers, i have an other one with the same issue.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

You do not have the PageLines Sections plugin installed, please install it and then run the import again please.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Guido    1
Guido

The Pagelines Sections plugin is installed but same problem.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Once last thing before we properly inspect your server setup, on the site you have exported the settings from, did the site have any custom CSS ?

 

If so, can you please remove the custom CSS and then export the theme settings again please and see if that file imports correctly. In the past some users who had a similar issue, had minor errors in their custom CSS, which caused the white screen.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Guido    1
Guido

Done. Unfortunately this was not the reason - whitescreen is still here

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

hmm, OK, well at least we can rule that out. I will need to speak to one of our developers and see what could be the cause of this, it is most likely server related. I will report here when I have more information for you.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Simon    247
Simon

You have to enable wordpress debug. In wp-config.php

Share this post


Link to post
Share on other sites
Guido    1
Guido

debug ist set true now - but i dont see any message on the whitescreen

Share this post


Link to post
Share on other sites
Simon    247
Simon

Well if thats set to true, then your server config is forcing errors to be suppressed. You should speak to your host. A white screen in wordpress is 99.9% of the time a PHP error.

Share this post


Link to post
Share on other sites
James B    436
James B

Hi Guido,

 

I'm afraid I'm not strong enough on php to be able to go through the link you've provided and spot any errors successfully. However, have you checked with the host that the Php memory limit is set to over 128mb in php.ini file? Or any alterations to the functions.php?

 

Unfortunately this is quite a common wordpress issue, this link might be able to help you track it down further and there's some solutions suggested there as well which could help-http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-wordpress-white-screen-of-death/ and  http://wordpress.org/support/topic/white-screen-of-death-7


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
Guido    1
Guido

Update:

 

It is not like my websites are on a crappy host ;) It is a virtual server with 256MB php memory and a huge amount of php-apps can be installed per one click. So i hope, the most common sources of errors can be excluded.

 

At least i set the logging level of the webserver to E_ALL, debug in WP and Pagelines on - but still no message in the error logfile.

 

What could be the next step? My webhost says that they wont support third party applications.

Share this post


Link to post
Share on other sites
Guido    1
Guido

php settings

 

I have made exactly the same Pagelines installation on a cheap webhost with 90MB php memory and other limitations - without the whitescreen issue.
So i asume that it must be a uncommon (maybe not the core) php setting which does not match which the Pagelines-Import function. All other reasons can be excluded so far.
The php configuration is here http://www.silbertreu.de/info.php - some of them do not work with Pagelines.


But where to look at? All values which belong to PHP_INI_ALL or PHP_INI_PERDIR can be changed in the htaccess. Is there a checklist of essential php settings for Pagelines?

Share this post


Link to post
Share on other sites
Simon    247
Simon

Look at your display_errors settings, they are all off.

 

error_reporting is set to 337

As you can see here http://php.net/manual/en/errorfunc.constants.php

377 is not one of them.

 

I can see its a VPS, did you configure this yourself? Or is someone doing it for you?

 

As your running PHP in the very insecure mod_php mode with apache running as user 'nobody' you should be able to change php values in the .htaccess file.

 

We cannot setup your server/vps for you, the Framework has been tested in the 10 leading shared hosts and countless default PHP setups.

Share this post


Link to post
Share on other sites
Guido    1
Guido

I did not configure the VPS. The setup is provided by the host, which is also a leading host in germany. I cannot tell if it is a good setting or not because i have no experience in webhosting and php at all.

Btw, I have no doubt that Pagelines has been well tested ;-).

 

According to Your info i set temporarily the error reporting to 30719 - and for the first time i received a message in the error log:

PHP Notice: Undefined index: 00 in ../wp-includes/locale.php on line 257, referer: ../wp-admin/plugins.php?deactivate-multi=true&plugin_status=all&paged=1&s=
PHP Notice: Undefined index: 00 in ../wp-includes/locale.php on line 257, referer: ../wp-admin/admin.php?page=PageLines-Admin
PHP Notice: Undefined index: 00 in ../wp-includes/locale.php on line 257, referer: ../wp-admin/admin.php?page=pagelines_templates
PHP Notice: Undefined index: 00 in ../wp-includes/locale.php on line 257, referer: ../wp-admin/admin.php?page=PageLines-Admin

 

I hope this gives us a hint?

Share this post


Link to post
Share on other sites
Simon    247
Simon

Still doesn't really show anything.

 

Can you attach your settings file so i can look at it?

Share this post


Link to post
Share on other sites
Simon    247
Simon

Yea there is absolutely nothing wrong with the file, i imported it to my standalone site and a multisite with all debugging on, and got no errors at all.

 

Your host is right, they will not support anything you install on your VPS, thats the point of a VPS, you do it yourself ;)

 

My advice is to look at your PHP configuration again.

 

As i said before:

 

 

 

As your running PHP in the very insecure mod_php mode with apache running as user 'nobody' you should be able to change php values in the .htaccess file.

Also noticed your running hardened PHP, do you know how to set that up?

Did you compile php and set it up your self? Or was it a one-click installer?

 

Share this post


Link to post
Share on other sites
Guido    1
Guido

I dont know what hardened php is - i have not compiled it, everything was ready when i accessed the webserver for the first time. This is the reason why i cannot change the setup, i am not able to do it.

Share this post


Link to post
Share on other sites
Simon    247
Simon

Its your VPS right? You have root access?

 

Or is it someone elses VPS and they have let you add your site to it?

Share this post


Link to post
Share on other sites
Guido    1
Guido

Yes it is mine - in theory i could make my own setup. But i am not able to. Thats why this hosting package is called "virtual server managed"... what in this case means "not managed". It has at least some drawbacks but is still better than some shared hosts afaik.

Share this post


Link to post
Share on other sites
Simon    247
Simon

A VPS will always be better than a shared host, but you need to figure out how to properly install Apache/PHP. Ideally these days people use Nginx with phpfpm as its so much faster than the old apache.

Share this post


Link to post
Share on other sites
Guido    1
Guido

After a lot of effort the problem is solved as far as i can make it. Pagelines and suhosin are no friends. When suhoshin is set simulation mode, it does only log and is not blocking anything. With suhosin simulation mode turned on, the import works fine (like on any cheap shared hosts).

 

The logfile shows:

 

Jan 13 19:15:48 Debian-60-squeeze-64-LAMP suhosin[13906]: ALERT-SIMULATION - Include filename is an uploaded file (attacker '80.81.xxx.xxx', file '/var/www/xxx/wordpress/wp-content/themes/pagelines/includes/library.options.php', line 898)

 

This problem was discussed in at least two topics here before:

http://www.pagelines.com/forum/topic/11043-settings-not-changed-on-import/
http://www.pagelines.com/forum/topic/10730-import-settings-not-working-take-ii/

 

 

Anyhow, whatever it is, (maybe a bug) my settings.dat is now uploaded and i hope it will help others with the same problem.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×