Posted on: 02/19/06 01:57am
By: Anonymous (Yeraze)
I'm trying to use the fckEditor stuff in GL1.4 to add images to some stories. I'm not having much luck.
I can switch tof ull screen, press the "Image" button and get the popup. When I click on "browse", I get another popup that starts to look like the file browser, but no files ever appear. I get the interface, but I'm unable to switch directories or see any files, and any attempts to upload just freeze at 0%.
After reading some of the comments in the main story, I enabled debugging in the fckEditor mcpuk stuff, and it works perfectly. But if I turn off debugging, then it doesn't work . Any ideas?
FCKEditor Images
Posted on: 02/19/06 04:49pm
By: Anonymous (Yeraze)
Anyone? Are there requirements on permissions, installed libraries, versions of PHP, etc that I don't know about?
FCKEditor Images
Posted on: 02/19/06 06:22pm
By: LWC
It happened to me too. I could only see the files once I've upgraded from PHP v5.0.3 to v5.0.5 .
FCKEditor Images
Posted on: 02/19/06 10:44pm
By: Anonymous (Yeraze)
But I'm running 5.1.1 ?
FCKEditor Images
Posted on: 02/19/06 10:55pm
By: Anonymous (Yeraze)
Some more info.. I enabled debugging of Errors only, and when I click the "Browse" button in the image popup, I get the following error 6 times :
19/02/2006 21:53:02
PHP ERROR:::
Error Number: 2
Error Message: mysql_numrows(): supplied argument is not a valid MySQL result resource
Error File: /home/users/yerase/geeklog/system/databases/mysql.class.php
Error Line: 539
-------------------------------------------------------
But strangely enough, it works. If I turn off debugging, then it fails & does nothing. Does this yield any answers?
PS: Just installed the new 1.4sr1 upgrade, no change.
FCKEditor Images
Posted on: 02/20/06 01:24am
By: scroff
Check the file names under fckeditor/editor/filemanager/browser/mcpuk/
This was happening to me, too. I went through and found that several of the file extensions (ie; .jpg, .php, etc.) had 000064 added to them. Changing the names back to the proper extensions fixed it.
For example, document2.jpg was called document2.jpg000064. There were alot of files like that... deleting the extra characters on the filenames made it all work...
was that clear?
FCKEditor Images
Posted on: 02/20/06 09:04am
By: Anonymous (Yeraze)
Nothing like that going on here... All the filenames look fine to me.
FCKEditor Images
Posted on: 02/22/06 11:01am
By: Anonymous (Yeraze)
I checked yesterday, I have php 5.1.1 running. Still can't get this to work right.
In the interim, i've just enabled the Debug Output for the mcpuk stuff.
FCKEditor Images
Posted on: 02/24/06 10:54pm
By: micahmj11
I have the same problem. Could not view the images after they were uploaded. Once I turned on debugging, everthing seems to work fine.
FCKEditor Images
Posted on: 02/26/06 05:50pm
By: mugen
[QUOTE BY= scroff] Check the file names under fckeditor/editor/filemanager/browser/mcpuk/
This was happening to me, too. I went through and found that several of the file extensions (ie; .jpg, .php, etc.) had 000064 added to them. Changing the names back to the proper extensions fixed it.
For example, document2.jpg was called document2.jpg000064. There were alot of files like that... deleting the extra characters on the filenames made it all work...
was that clear? [/QUOTE]
I had this problem too and followed the advice above, and it worked. Look in ALL the folders under fckeditor/editor/filemanager, as the affected files in my case were not in /mcpuk/ folder.
HTH, mugen
FCKEditor Images
Posted on: 02/27/06 12:20am
By: micahmj11
Thanks, that did the trick. I had checked my /mcpuk/ folder earlier to see if I had the same problem, but could not find any affected files. I turns out that there were plenty of affected files in other folders.
Micah