Bug browsing for files in 1.0.6?

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.
Locked
James

Bug browsing for files in 1.0.6?

Post by James »

Hey guys, today i upgraded from 1.0.4 to 1.0.5 using the diff upgrade pack. Then 1.0.5 to 1.0.6, logged in and everything seemed fine. I tried to create a hyperlink to a pdf and found that im no longer able to browse for a file ive uplaoded onto my webserver. Instead I now get an error:

http://hydrogen.chfs.org.uk/clem/Images ... upload.png

Any ideas? I did make a copy of my 1.0.4 folder before i applied the 1.0.5 diff upgrade- followed by the 1.0.6 upgrade. If the DB hasnt been modified by either of the upgrades and then i assume i would be able to just copy the 1.0.4 version of the folder back up to return to version 1.0.4.

Thanks in advance for any help or advice :)
James

Re: Bug browsing for files in 1.0.6?

Post by James »

Btw, incase anyone thought I was being lazy and search for this problem- I did.

2 relevent results:

http://forum.cmsmadesimple.org/index.ph ... l#msg60934

and

http://forum.cmsmadesimple.org/index.ph ... l#msg58158

Both not much help. The first says to edit php.ini and change:

session.auto_start = 0 to session.auto_start = 1

I did this, and restarted apache. No joy. :(
cyberman

Re: Bug browsing for files in 1.0.6?

Post by cyberman »

This "bug" comes from new FCK Editor - there's a change in path.

Old one uses uploads/File
New one uses upload/file

Note that it's case sensitiv on linux.

Solution:

1. Rename your folder from uploads/File to uploads/file
2. Run following SQL command

Code: Select all

UPDATE cms_content_props SET content=REPLACE(content,'uploads/File','uploads/file')
That's all ...
James

Re: Bug browsing for files in 1.0.6?

Post by James »

Cheers mate, i tried both solutions. The first didnt update anything. The second had no effect. I still get the error message when browsing the server to upload files using fck editor :s
cyberman

Re: Bug browsing for files in 1.0.6?

Post by cyberman »

Have you tried to deinstall and reinstall FCK?
Raquel

Re: Bug browsing for files in 1.0.6?

Post by Raquel »

This has also driven me completely potty!
I  have resolved it in my set up(works for me anyway) see last post here
http://forum.cmsmadesimple.org/index.ph ... 810.0.html

Maybe the problem is only with upgrades and not clean installs.
Locked

Return to “CMSMS Core”