icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Coding and Programming » Joomla/Mambo: Warning and Fatal error

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old March 21st, 2006, 5:36 AM   #1 (permalink)
Surpass Fan
Comfy Contributor
 
AllanC's Avatar
 
Joined in Nov 2003
Lives in Bangkok
Hosted on PASS
119 posts
Gave thanks: 0
Thanked 0 times
Joomla/Mambo: Warning and Fatal error

While updating my Joomla website... I experience Warning and Fatal error messages... all I thought its because I did something wrong... but when I visit my other Joomla and Mambo sites... I received the same messages...

Quote:
Warning: main(): open_basedir restriction in effect. File(/home2/zetans/public_html/includes/version.php) is not within the allowed path(s): (/home/zetans/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/zetans/public_html/includes/joomla.php on line 71

Warning: main(/home2/zetans/public_html/includes/version.php): failed to open stream: Operation not permitted in /home/zetans/public_html/includes/joomla.php on line 71

Fatal error: main(): Failed opening required '/home2/zetans/public_html/includes/version.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/zetans/public_html/includes/joomla.php on line 71
Has anybody experience this?? This is a server error I assume... coz I havent touch my other joomla/mambo site but same error coming in!

Please help!
__________________
AllanC is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 21st, 2006, 8:42 AM   #2 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,395 posts
Gave thanks: 28
Thanked 94 times
email support.

what is the current server load?
did you modify / upgrade your configuration.php file?

John
__________________
Proud to be a Surmunity Mod!
XEON PASS60 PASS61
Make a fundamental difference!
My Sites:
Curious about Brewing Beer? Join the community!
>>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax
Get into an Art museum
Victorian London
It's your brain -ON WEB - mybrainhost.com (under development)
What SHOULD Government do? Much Less than it Does!
Bigjohn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 21st, 2006, 9:53 AM   #3 (permalink)
Surpass Fan
Comfy Contributor
 
AllanC's Avatar
 
Joined in Nov 2003
Lives in Bangkok
Hosted on PASS
119 posts
Gave thanks: 0
Thanked 0 times
I dont know if this was also affected from mambo vulnerability. refer to:

http://secunia.com/advisories/17622/

I have lot of joomla/mambo website in different version... the only website that is fine right now is the mambo v.4.5.1 but all from mambo v.4.5.2 till joomla 1.8 were affected.

I didnt edit the configuration... I just visit the site to update some contents but all I got is error... the same as the others...
__________________
AllanC is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 21st, 2006, 9:58 AM   #4 (permalink)
All Ur Base R Belong 2 Us
Excelling Contributor
 
mr_fern's Avatar
 
Joined in Feb 2005
Lives in Vegas & New York
824 posts
Gave thanks: 2
Thanked 6 times
'/home2/zetans/public_html/includes/version.php'

should that 2 be there? Just a tiny observation.
__________________
Nobody doing nothing
mr_fern is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 21st, 2006, 10:18 AM   #5 (permalink)
Surpass Fan
Comfy Contributor
 
AllanC's Avatar
 
Joined in Nov 2003
Lives in Bangkok
Hosted on PASS
119 posts
Gave thanks: 0
Thanked 0 times
I already check all the file and its there... I even compare from my computer files... I will try to look at joomla.org forum... this is a serious problem...
__________________
AllanC is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 21st, 2006, 10:28 AM   #6 (permalink)
All Ur Base R Belong 2 Us
Excelling Contributor
 
mr_fern's Avatar
 
Joined in Feb 2005
Lives in Vegas & New York
824 posts
Gave thanks: 2
Thanked 6 times
Quote:
Warning: main(): open_basedir restriction in effect. File(/home2/zetans/public_html/includes/version.php) is not within the allowed path(s): (/home/zetans/:/usr/lib/php:/usr/local/lib/php:/tmp)
Well, the issue the first warning gives is that open_basedir is on.

You have access to the following paths:
/home/zetans/, /usr/lib/php, /usr/local/lib/php, and /tmp

The problem is that you're trying to access the path /home2/zetans, which PHP has been instructed not to allow you to access. That error flows through to the next two.

That's why I brought attention to the /home2/
__________________
Nobody doing nothing
mr_fern is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 21st, 2006, 10:37 AM   #7 (permalink)
Surpass Fan
Comfy Contributor
 
AllanC's Avatar
 
Joined in Nov 2003
Lives in Bangkok
Hosted on PASS
119 posts
Gave thanks: 0
Thanked 0 times
I dont know why... is this a server issue or an exploit?
__________________
AllanC is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 21st, 2006, 10:50 AM   #8 (permalink)
All Ur Base R Belong 2 Us
Excelling Contributor
 
mr_fern's Avatar
 
Joined in Feb 2005
Lives in Vegas & New York
824 posts
Gave thanks: 2
Thanked 6 times
It's a server setting. It's intent is security.

Just keep all the files within the /home/zetans/ directory.
Your joomla/mambo configuration file should look for these files within /home/zetans/ and not /home2/zetans/

They should be doing requires on /home/zetans/public_html/includes/version.php instead of /home2/zetans/public_html/includes/version.php
__________________
Nobody doing nothing
mr_fern is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 21st, 2006, 10:59 AM   #9 (permalink)
Surpass Fan
Comfy Contributor
 
AllanC's Avatar
 
Joined in Nov 2003
Lives in Bangkok
Hosted on PASS
119 posts
Gave thanks: 0
Thanked 0 times
/home2 is my homeRoot in my reseller account. I doubt that this is a server issue.

I will email support...
__________________
AllanC is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On