Page 1 of 1

Bug browsing for files in 1.0.6?

Posted: Tue Jun 05, 2007 3:17 pm
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 :)

Re: Bug browsing for files in 1.0.6?

Posted: Wed Jun 06, 2007 10:07 am
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. :(

Re: Bug browsing for files in 1.0.6?

Posted: Wed Jun 06, 2007 10:28 am
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 ...

Re: Bug browsing for files in 1.0.6?

Posted: Thu Jun 07, 2007 1:30 pm
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

Re: Bug browsing for files in 1.0.6?

Posted: Thu Jun 07, 2007 3:04 pm
by cyberman
Have you tried to deinstall and reinstall FCK?

Re: Bug browsing for files in 1.0.6?

Posted: Thu Jun 07, 2007 6:27 pm
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.