Php Error when trying to access "styles" in ACP

Discussions and support about the different URL Rewriting techniques for phpBB.

Moderator: Moderators

Php Error when trying to access "styles" in ACP

Postby Coldfeet » Wed Jan 27, 2010 8:10 pm

Hi all

I apologise in advance if this is in the wrong place, but recently I have been getting an error when I try to go to the styles option in ACP

The error is as follows

Code: Select all
[phpBB Debug] PHP Notice: in file /includes/acp/acp_styles.php on line 647: file_exists() [function.file-exists]: open_basedir restriction in effect. File(./../styles/rss_template.xml/style.cfg) is not within the allowed path(s): (/customers/mydomain.com/mydomain.com:/tmp:/var/www/diagnostics:/usr/share/php)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3528)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3528)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3528)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3528)


I have tried a search on here and in the phpbb3 forums to no avail and I was wondering if any kind person could point me in the correct direction?

Regards
Steve
Coldfeet
 
Posts: 4
Joined: Sat Aug 15, 2009 10:39 pm

Advertisement

Re: Php Error when trying to access "styles" in ACP

Postby austin881 » Wed Jan 27, 2010 10:55 pm

You appear to have something seriously restrictive going on there. You must be in a shared hosting environment and whatever is going wrong is trying to read a file that is not even in your "allotted" area. PHP might be in safe-mode?

This is a significant error...
Code: Select all
open_basedir restriction in effect. File(./../styles/rss_template.xml/style.cfg) is not within the allowed path(s): (/customers/mydomain.com/mydomain.com:/tmp:/var/www/diagnostics:/usr/share/php)


I'm wondering what you did before this error started. What file did you edit?
My dev playground: Whoa.co
Appreciate my assistance? You can thank me by linking to my Chevrolet Astro forums.
User avatar
austin881
phpBB SEO Team
phpBB SEO Team
 
Posts: 249
Joined: Wed Oct 28, 2009 12:16 am
Location: Boise, Idaho USA

Re: Php Error when trying to access "styles" in ACP

Postby Coldfeet » Thu Jan 28, 2010 12:04 am

Hey Thanks for the reply.

I really didn't edit anything before I began to get this error, although my webhost did upgrade their php version lately. I checked if php error messages were set to on and they weren't so safe mode isn't on. rss_template.xml is part of the RSS feed 2.0 mod, could that be the problem?
I tried to uninstall that Mod using automod and it breaks the forum altogether.
Coldfeet
 
Posts: 4
Joined: Sat Aug 15, 2009 10:39 pm

Re: Php Error when trying to access "styles" in ACP

Postby austin881 » Thu Jan 28, 2010 12:57 am

So what you're saying is that your issue isn't related to phpBB-SEO at all? :? You're running phpBB3 with mods?
My dev playground: Whoa.co
Appreciate my assistance? You can thank me by linking to my Chevrolet Astro forums.
User avatar
austin881
phpBB SEO Team
phpBB SEO Team
 
Posts: 249
Joined: Wed Oct 28, 2009 12:16 am
Location: Boise, Idaho USA

Re: Php Error when trying to access "styles" in ACP

Postby Coldfeet » Thu Jan 28, 2010 1:24 am

No no, I am running phpBB SEO, but I have that rss mod installed
Coldfeet
 
Posts: 4
Joined: Sat Aug 15, 2009 10:39 pm

Re: Php Error when trying to access "styles" in ACP

Postby dcz » Sun Jan 31, 2010 1:17 pm

Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21406
Joined: Fri Apr 28, 2006 9:03 pm

Re: Php Error when trying to access "styles" in ACP

Postby Coldfeet » Mon Feb 01, 2010 1:35 am

Hey Thanks for the reply, I had actually came across those search links you posted, but they didn't fix the problem, it turns out that this error requires a repository file for the acp_styles.php from here http://code.phpbb.com/repositories/revision/phpbb/10361
Coldfeet
 
Posts: 4
Joined: Sat Aug 15, 2009 10:39 pm

Re: Php Error when trying to access "styles" in ACP

Postby dcz » Sat Feb 06, 2010 5:18 pm

oh, a phpBB bug then (fixed in phpBB3.0.7-RC1), thanks for reporting about it ;)

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21406
Joined: Fri Apr 28, 2006 9:03 pm


Return to phpBB mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: VoilaBot [Bot] and 6 guests