Joomla! Discussion Forums



It is currently Tue Nov 24, 2009 10:34 pm (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 5 posts ] 
Author Message
Posted: Thu Sep 08, 2005 11:12 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Mon Sep 05, 2005 10:34 am
Posts: 3
this morning I asked my faculty admin to turn OFF the SAFE MODE for a moment, so that I can install components (DocMan, RSGallery & Events). They worked fine just after I installed them, but later when the admin turn ON the SAFE MODE back, the links turn out to be

"The page you are trying to access does not exist.
Please select a page from the main menu."

I checked many threads to find solutions, so far I found nothing. Now, I have no idea how to do it. Please help me to solve this problem without turning ON the SAFE MODE again ("no, sorry": said the admin). Again please, help me if anyone know about this, as the portal will be lauched immediately.

Thank you in advance,
regards,


Top
  E-mail  
 
Posted: Thu Sep 08, 2005 11:34 am 
Joomla! Ace
Joomla! Ace
Offline

Joined: Thu Aug 18, 2005 9:06 am
Posts: 1465
I think it is not connected to the safe mode... it may just be bad luck.
The safe mode affects the permissions a script has to access files... but this error message is not about a file but pages... the Itemid parameter may be the problem in your case.

_________________
http://de.siteof.de/


Top
   
 
Posted: Thu Sep 08, 2005 12:12 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Mon Sep 05, 2005 10:34 am
Posts: 3
de wrote:
I think it is not connected to the safe mode... it may just be bad luck.
The safe mode affects the permissions a script has to access files... but this error message is not about a file but pages... the Itemid parameter may be the problem in your case.


I'm positively sure that it is connected to the SAFE MODE, because it happened just after it went ON. I did nothing to the codes or any other things. In the Administrator page, I can see all of the components under the components down-menu. weird things I found were:
1. when i tried to configure, manage or setting the components (RSGallery, DocMan & events) from the components' down-menu, they went to control panel page. the same thing happened when i tried to configure, manage or setting the components from components tab next to the control panel menu. It showed only the control panel page. the standard components worked fine.

2. when i go to install/uninstall components. some text appeared:

Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 518 is not allowed to access /home/staff/urm/public_html/portal/administrator/components/com_docman owned by uid 30 in /home/staff/urm/public_html/portal/includes/mambo.php on line 2183

Warning: opendir(/home/staff/urm/public_html/portal/administrator/components/com_docman): failed to open dir: Success in /home/staff/urm/public_html/portal/includes/mambo.php on line 2183

Warning: readdir(): supplied argument is not a valid Directory resource in /home/staff/urm/public_html/portal/includes/mambo.php on line 2185

Warning: closedir(): supplied argument is not a valid Directory resource in /home/staff/urm/public_html/portal/includes/mambo.php on line 2202

Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 518 is not allowed to access /home/staff/urm/public_html/portal/administrator/components/com_events owned by uid 30 in /home/staff/urm/public_html/portal/includes/mambo.php on line 2183

Warning: opendir(/home/staff/urm/public_html/portal/administrator/components/com_events): failed to open dir: Success in /home/staff/urm/public_html/portal/includes/mambo.php on line 2183

Warning: readdir(): supplied argument is not a valid Directory resource in /home/staff/urm/public_html/portal/includes/mambo.php on line 2185

Warning: closedir(): supplied argument is not a valid Directory resource in /home/staff/urm/public_html/portal/includes/mambo.php on line 2202

Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 518 is not allowed to access /home/staff/urm/public_html/portal/administrator/components/com_rsgallery owned by uid 30 in /home/staff/urm/public_html/portal/includes/mambo.php on line 2183

Warning: opendir(/home/staff/urm/public_html/portal/administrator/components/com_rsgallery): failed to open dir: Success in /home/staff/urm/public_html/portal/includes/mambo.php on line 2183

Warning: readdir(): supplied argument is not a valid Directory resource in /home/staff/urm/public_html/portal/includes/mambo.php on line 2185

Warning: closedir(): supplied argument is not a valid Directory resource in /home/staff/urm/public_html/portal/includes/mambo.php on line 2202

Usually this is only appeared after i tried to install components with the SAFE MODE ON, but now they appeared directly as I click install/uninstall components.

3. Under Installed Components, I saw the 3 components which I installed before. but no details on Author, Version, Date, Author Email & Author URL. only the name of the components and their component menu link shown up.

What can I do? If you have any idea, please write down step-by-step explanation, as I'm just a beginner either in PHP or Joomla/Mambo. Thanx


Top
  E-mail  
 
Posted: Thu Sep 08, 2005 12:34 pm 
Joomla! Ace
Joomla! Ace
Offline

Joined: Thu Aug 18, 2005 9:06 am
Posts: 1465
Ok, the other errors have more to do with the safe mode. The problem is that the files are in most cases created using the "webserver-user"... and that was not a problem with safe mode off, but now with on it is. And your scripts still need to access the files but do not have the permissions to do so (due to the safe mode restriction).
Read here for more information on this matter:
http://bugs.php.net/bug.php?id=24604

For the next addon you may want to try to install you could try a safe mode patch:
http://mamboforge.net/projects/mos-sm-patch/
http://mamboforge.net/projects/safemode452/
(I hope there will be one integrated once... because a patch has always its downside and may not work properly)

Hoewever, those patches help you when installing new addons because they may use your ftp account to create directories... but they will not help for your existing files.

What you can do is now to try to gain the ownership of all the files... you could ask your host to do this.

_________________
http://de.siteof.de/


Top
   
 
Posted: Thu Sep 08, 2005 1:16 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Mon Sep 05, 2005 10:34 am
Posts: 3
de wrote:
What you can do is now to try to gain the ownership of all the files... you could ask your host to do this.


Using WinSCP, I looked to my files in the server..and it's true like u said.. the ownership of the components folder are not mine. they belong to the host, wwwrun. I couldn't  change their permission, and therefore I duplicated them first, put them to the temporary folder (now, the ownership is mine). rename the old one. and put the new one back. So far, the method, worked very well with DocMan, and now i will go on with the rest.

THANK YOU for your insights..It's really helpful, and contribute a lot to my learning curve ;)
Much Success to you.. de!!


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group