Cant access site / admin..allow_url_include is On

All of sudden I cannot acces my website or the admin panel.. I get this error.

allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe) 
Please go to the 
Dolphin Troubleshooter 
and solve the problem.

This happened out of nowhere.. I went to the /public_html/go/php.ini file and changed the allow_url_include to OFF and then the website and admin page is just a blank white page...

Here is my domain: http://my420mate.com/go

Any advice?

 



Quote · 13 Jan 2014

Have you restarted your Apache after changing php.ini?

http://boonexpert.com
Quote · 13 Jan 2014

No... I will contact my host to to restart Apache..

How did the php.ini edit it self? Because the website was working fine the day before.. It just changed on its own...

Quote · 14 Jan 2014

My host said they dont think restarting Apache will fix it.. Here si the error log..

http://www.my420mate.com/go/error_log

I do not understand the error log enough to realize the issue.. 

Quote · 14 Jan 2014

Can you send me ftp info and admin so i can check whats happening..

"Your future is created by what you do today, not tomorrow." @ www.dexpertz.net
Quote · 14 Jan 2014

Looking at your logfile I would say you're not running the latest version of Dolphin and your hosting company upgraded PHP on your server

Dedicated servers for as little as $32 (28 euro) - See http://denre.com for more information
Quote · 14 Jan 2014

 

How did the php.ini edit it self? Because the website was working fine the day before.. It just changed on its own...

 Denre is right: seems like your hosting company has upgraded server software after what it has changed the php.ini file to default.

http://boonexpert.com
Quote · 14 Jan 2014

I had the host restore my website to last week.. And the site is now working.. I will keep an eye on it.. Do you guys have any further suggestion? I will PM you my login details.

Quote · 15 Jan 2014

 

I had the host restore my website to last week.. And the site is now working.. I will keep an eye on it.. Do you guys have any further suggestion? I will PM you my login details.

 I think It would be more efficient to ask your hosting company what exactly they "restored" so you'll know what exactly went wrong last time. 

http://boonexpert.com
Quote · 15 Jan 2014

 

I had the host restore my website to last week.. And the site is now working.. I will keep an eye on it.. Do you guys have any further suggestion? I will PM you my login details.

 I think It would be more efficient to ask your hosting company what exactly they "restored" so you'll know what exactly went wrong last time. 

http://boonexpert.com
Quote · 15 Jan 2014

They said they did not know what happened... and said to check with Dolphin..

 

Quote · 15 Jan 2014

 

They said they did not know what happened... and said to check with Dolphin..

 Please read my previous post, this is not what I meant.

http://boonexpert.com
Quote · 15 Jan 2014

This happened again, randomly.. I am not sure what is triggering this? Can someone assist me? I can provide login details if needed.

http://my420mate.com/go

 

Quote · 17 Jan 2014

Put this in your public_html or root folder and reload the site, see attachment..and get back to us.

 

 

[PHP]

 

safe_mode = Off

allow_url_include = Off

allow_url_fopen = On

register_globals = Off

upload_max_filesize = 1000M

post_max_size = 2000M

memory_limit = 512M

max_input_time = 30000

max_execution_time = 30000

short_open_tag = On

php.ini · 243B · 170 downloads
"Your future is created by what you do today, not tomorrow." @ www.dexpertz.net
Quote · 17 Jan 2014

I was just wondering do people really upload files 1000M to 2000M in a shared hosting or even dedicated environment often?

Secondly max input and execution time of 30000? Do you folks really recommended that in any environment? I don't.

30000 seconds = 500 minutes right? Or, 8.3XXX hours...Ouch!

If something isn't done doing what it's supposed to do in maybe 5 or 10 minutes (600 seconds) then you will be asking for trouble in a shared environment. Maybe in a cloud, vps, dedicated you could do that (questionable though), but still 8+ hours before it's killed is overkill and definitely not the most recomended number. Maybe 20-30 minutes at most (1200-1800).

Memory limit on shared hosting tends to be 64 to 256 mb's as well. Pushing it to 512 may be too much.

These would possibly be ok with the right setup with a vps or dedicated, but not recommended with a shared host.

I realize this is ultimately about allow_url_include, but holy cow those other numbers are not even close to normal in average situations.

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 17 Jan 2014

 

I was just wondering do people really upload files 1000M to 2000M in a shared hosting or even dedicated environment often?

Secondly max input and execution time of 30000? Do you folks really recommended that in any environment? I don't.

30000 seconds = 500 minutes right? Or, 8.3XXX hours...Ouch!

If something isn't done doing what it's supposed to do in maybe 5 or 10 minutes (600 seconds) then you will be asking for trouble in a shared environment. Maybe in a cloud, vps, dedicated you could do that (questionable though), but still 8+ hours before it's killed is overkill and definitely not the most recomended number. Maybe 20-30 minutes at most (1200-1800).

Memory limit on shared hosting tends to be 64 to 256 mb's as well. Pushing it to 512 may be too much.

These would possibly be ok with the right setup with a vps or dedicated, but not recommended with a shared host.

I realize this is ultimately about allow_url_include, but holy cow those other numbers are not even close to normal in average situations.

 

You can just use this :

 

[PHP]

 

safe_mode = Off

allow_url_include = Off

allow_url_fopen = On

register_globals = Off

 

save as php.ini and upload..

 

 Sorry that php.ini was set that high on VPS, as requested by last client i forgot to edit.

 

 

"Your future is created by what you do today, not tomorrow." @ www.dexpertz.net
Quote · 17 Jan 2014

I am in my file manager and about to add the code to the current php.ini file.. I notice a few other php.ini files.. see the screnshot. Are these supposed to be here? And apparently they were all last modified yesterday.. We were not doing any edits to these files yesterday? What would casue them to be modified?

 

 

Quote · 17 Jan 2014

Hi,

I added the following code to the bottom of the current php.ini file.

[PHP]

 

safe_mode = Off

allow_url_include = Off

allow_url_fopen = On

register_globals = Off

 

Now the website is just a blank white screen.. And the admin login page still displays the error..

http://www.my420mate.com/go/administration/index.php

http://www.my420mate.com/go/

 

Quote · 17 Jan 2014

the other php.ini files are backups.  Your host may have been doing some work.  The php.ini file is the one that is read.  If you PM me access to the control panel, I will take a look at the current php.ini file if you wish. 

Geeks, making the world a better place
Quote · 17 Jan 2014

 

Hi,

I added the following code to the bottom of the current php.ini file.

[PHP]

 

safe_mode = Off

allow_url_include = Off

allow_url_fopen = On

register_globals = Off

 

Now the website is just a blank white screen.. And the admin login page still displays the error..

http://www.my420mate.com/go/administration/index.php

http://www.my420mate.com/go/

 

 
You did not actually add the word. [PHP] to that file did you?

If so. Remove it. Just add this.

safe_mode = Off
allow_url_include = Off
allow_url_fopen = On
register_globals = Off


https://www.deanbassett.com
Quote · 17 Jan 2014

I actually tried both ways.. and it is the same result.. The blank white screen

Quote · 17 Jan 2014

create a php "info.php" file and put this

<?php
phpinfo(); 

and watch for this.

Screenshot_4.png · 5.8K · 536 views
so much to do....
Quote · 17 Jan 2014

there is a phpinfo.php file I saw in the list

Geeks, making the world a better place
Quote · 17 Jan 2014

 that checks for logged in admin so wouldn't work.

there is a phpinfo.php file I saw in the list

 

so much to do....
Quote · 17 Jan 2014

I assumed its not picking up the php.ini we made so ask help from your host to set it for you and make sure that

allow_url_include is off

"Your future is created by what you do today, not tomorrow." @ www.dexpertz.net
Quote · 17 Jan 2014

Ok so I went into the file manage and changed the to allow_url_include = Off .. and the website is still just a blank page.. 

This happened last week, so I had the host restore the site back to a week old backup. So now I am convinced that something is triggering the allow_url_include = Off to somehow change to allow_url_include = On..... what could cause this? ANd as of now, the website is still blank screen. 

Quote · 17 Jan 2014

A blank screen indicates a error is occurring, so check your servers php logs for errors.

And as for things changing by themselves??  Not possible unless you or your host is messing with the server or doing software updates.

https://www.deanbassett.com
Quote · 17 Jan 2014

If you would like for me to take a look, PM me.

Geeks, making the world a better place
Quote · 17 Jan 2014

This is the message from my host:

 

Christopher N.:

It looks like your PHP Version was updated to PHP 5.4 and your scripts are not compatible with this version. We are going to be removing PHP 5.2 from your server very soon as PHP no longer supports this version. You will want to update yoru scripts as soon as possible to work with PHP 5.4 to avoid any issues with this in the future.
Quote · 17 Jan 2014

php version was mentioned up at the top.

Now, you posted this in the Dolphin 7.1 section so I am assuming you are running Dolphin 7.1.x.  Now I am running a Dolphin 7.1.0 with some updates on PHP 5.4 without any issues.  Therefore, upgrading to PHP 5.4 on a 7.1.x should not be the cause of your problem unless they compiled something else not normal to the standard PHP configuration.  You could ask them what .configure they used for compiling the PHP 5.4 and we can check that.

Geeks, making the world a better place
Quote · 17 Jan 2014

That's where the mistake was made. The post was placed in the dolphin 7.1 forum, but i just verified he is running dolphin 7.0 which is not compatible with PHP 5.4.

You need to downgrade to php 5.3 or upgrade dolphin to version 7.1

https://www.deanbassett.com
Quote · 17 Jan 2014

 

That's where the mistake was made. The post was placed in the dolphin 7.1 forum, but i just verified he is running dolphin 7.0 which is not compatible with PHP 5.4.

You need to downgrade to php 5.3 or upgrade dolphin to version 7.1

 Thanks for the clarification Dean.  Yes, you are going to have to upgrade if you stay with that host, which could be more painful than finding a new host for your site.  You will need to follow a precise upgrade path and you will have to replace the template and third party modules.  You may could find a cheap dedicated or VPS with the proper PHP version installed and that might be a smarter move at this time.  With a dedicated or VPS, you can set the server up with the proper PHP version to run your site.

Geeks, making the world a better place
Quote · 17 Jan 2014

Okay try Deano's suggestion and you'll be fine the issues was in php version upgraded ask host for the last time to downgrade the php to PHP 5.3 . Disregard the warning admin tools after downgrading if you've encounter one.

"Your future is created by what you do today, not tomorrow." @ www.dexpertz.net
Quote · 18 Jan 2014

Looks like there is no choice. The host wants to upgrade all the servers to php 5.4. So if it's being forced by the host then that leaves only 2 options. Upgrade dolphin, or move to zarconia hosting. ↓↓↓↓↓↓

https://www.deanbassett.com
Quote · 18 Jan 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.