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