Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks


Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Wednesday, June 19 2013 @ 05:46 PM EDT


 Forum Index > Support > General Geeklog Support New Topic Post Reply
 FCKEditor Images
   
Anonymous: Yeraze
 02/19/06 01:57AM (Read 1329 times)  

confused


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?

 
 Quote
Anonymous: Yeraze
 02/19/06 04:49PM  



Anyone? Are there requirements on permissions, installed libraries, versions of PHP, etc that I don't know about?

 
 Quote
LWC
 02/19/06 06:22PM  
+++++
Full Member

Status: offline


Registered: 02/19/04
Posts: 811
It happened to me too. I could only see the files once I've upgraded from PHP v5.0.3 to v5.0.5 .

 
Profile Email Website
 Quote
Anonymous: Yeraze
 02/19/06 10:44PM  



But I'm running 5.1.1 ?

 
 Quote
Anonymous: Yeraze
 02/19/06 10:55PM  



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.

 
 Quote
scroff
 02/20/06 01:24AM  
++++-
Regular Poster

Status: offline


Registered: 02/19/03
Posts: 111
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?

 
Profile Email
 Quote
Anonymous: Yeraze
 02/20/06 09:04AM  



Nothing like that going on here... All the filenames look fine to me.

 
 Quote
Anonymous: Yeraze
 02/22/06 11:01AM  



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.

 
 Quote
micahmj11
 02/24/06 10:54PM  
++---
Junior

Status: offline


Registered: 10/11/02
Posts: 20
I have the same problem. Could not view the images after they were uploaded. Once I turned on debugging, everthing seems to work fine.

 
Profile Email Website
 Quote
mugen
 02/26/06 05:50PM  
+++--
Chatty

Status: offline


Registered: 02/22/06
Posts: 53
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?


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

cedko.com -- Cartoonin' The World :)
 
Profile Email Website
 Quote
micahmj11
 02/27/06 12:20AM  
++---
Junior

Status: offline


Registered: 10/11/02
Posts: 20
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

 
Profile Email Website
 Quote
Content generated in: 0.71 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content