errors in Files-manager when opening a subdir

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
mev
Power Poster
Power Poster
Posts: 371
Joined: Wed Apr 25, 2007 5:00 pm

errors in Files-manager when opening a subdir

Post by mev »

Hi all,
When trying to open a sub-subdir through the Files manager, my client gets error messages like these:

-Warning: opendir(/www/htdocs/andresch/uploads/images/g6-1st 7th Sea): failed to open dir: unknown directory or file in /www/htdocs/andresch/admin/files.php on line 245
-Warning: readdir(): supplied argument is not a valid Directory resource in /www/htdocs/andresch/admin/files.php on line 246
-Fatal error: Call to a member function on a non-object in /www/htdocs/andresch/admin/files.php on line 278

I cann't open these subdir's through FTP neither...

The sub-subdir contains normal jpg images, which are also read and shown in the browser normally!

The cms-ms installed is 1.1 "Samoa"

Does anybody knows what these errors mean and what's wrong here???

Thanks a lot in advance

Willemijn
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: errors in Files-manager when opening a subdir

Post by JohnnyB »

I wonder if the opendir function is turned off.  What host do you use?

you can try adding a custom php.ini file into the root of your url with the following:

allow_url_fopen = on

Then again, I could be completely wrong. I'm not very good at php problems yet.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
mev
Power Poster
Power Poster
Posts: 371
Joined: Wed Apr 25, 2007 5:00 pm

Re: errors in Files-manager when opening a subdir

Post by mev »

Hi mww, thanks much for your replies.
This site is hosted at mijndomein.nl , usually no problems all over there. All other dir's and sub-sud dirs created for cms-ms, do not have this error and I suppose they use this same php-file for opening !?

Kindest, willemijn
Pierre M.

Re: errors in Files-manager when opening a subdir

Post by Pierre M. »

Hello Willemijn,
mev wrote: The cms-ms installed is 1.1 "Samoa"
Please try first to upgrade (after backing up) to latest official stable release (1.2.3 today) to see if your issue is still there.

Pierre M.
Post Reply

Return to “CMSMS Core”