View previous topic :: View next topic |
Author |
Message |
floppy webmaster
Joined: Jun 12, 2006 Posts: 23
|
Posted: Sat Jul 21, 2007 3:07 pm Post subject: php 5 configuration and WYSIWYG |
|
|
I recently updated to php 5 and now when I click the image button I get the following message where that other language use to be.
Quote: | Not Found
The requested URL /create.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at www.clan-themes.co.uk Port 80 |
I don't understand where create.php comes into play. I don't think I ever had it before. |
|
Back to top |
|
|
kguske Site Admin
Joined: May 12, 2005 Posts: 876
|
Posted: Sat Jul 21, 2007 8:33 pm Post subject: Re: php 5 configuration and WYSIWYG |
|
|
What OS is the server using? _________________ |
|
Back to top |
|
|
kguske
|
Posted: Sat Jul 21, 2007 8:47 pm Post subject: Re: php 5 configuration and WYSIWYG |
|
|
I just tested on my XAMPP (Windows) installation and had no problems with the image button on PHP 5. I even uploaded a file. Are there any other changes made to the FCKeditor installation? Plugins? |
|
Back to top |
|
|
floppy
|
Posted: Sun Jul 22, 2007 2:13 pm Post subject: Re: php 5 configuration and WYSIWYG |
|
|
No, but I have a feeling Apache is missing some configuration that fckeditor requires. I am on Unix btw. |
|
Back to top |
|
|
Guardian webmaster
Joined: Dec 25, 2005 Posts: 364 Location: Vsetin, Czech Republic
|
Posted: Mon Jul 23, 2007 12:45 am Post subject: Re: php 5 configuration and WYSIWYG |
|
|
I have used FCKeditor with PHP 5.2.0 and recently upgraded to 5.2.3 and I have no problems with either.
Using linux with Apache 1.3.37 |
|
Back to top |
|
|
Guardian
|
Posted: Mon Jul 23, 2007 12:47 am Post subject: Re: php 5 configuration and WYSIWYG |
|
|
Could you post the entire error message? |
|
Back to top |
|
|
Guardian
|
Posted: Mon Jul 23, 2007 6:58 am Post subject: Re: php 5 configuration and WYSIWYG |
|
|
I have just checked the entire 'trunk' of Raven Nuke and there is no mention of 'create.php' in any of the files. |
|
Back to top |
|
|
floppy
|
Posted: Mon Jul 23, 2007 2:08 pm Post subject: Re: php 5 configuration and WYSIWYG |
|
|
floppy wrote: | I recently updated to php 5 and now when I click the image button I get the following message where that other language use to be.
Quote: | Not Found
The requested URL /create.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at www.clan-themes.co.uk Port 80 |
I don't understand where create.php comes into play. I don't think I ever had it before. |
I did the whole search for create.php too. Thats what believes me to think its apache problem. I am using 5.2.3.
Thats what I see when I click the img button in my editor.
The full text
Quote: | Not Found
The requested URL /create.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at www.clan-themes.co.uk Port 80 |
I reinstalled the mod just to be sure, but still no change. |
|
Back to top |
|
|
Guardian
|
Posted: Tue Jul 24, 2007 7:06 am Post subject: Re: php 5 configuration and WYSIWYG |
|
|
There have been ocassions when I have had a 404 error in the place you have noted within the editor, though to be honest, I cannot remember if it ever mentioned create.php
I recall that I only ever saw it in the first version of nukeWYSIWYG but I'm racking my tiny brain to think what the cause was....
I remember it was some obscure one-off type thing, possibly, I *think* it might have been something to do with the GD library not being compiled correctly coupled with the fact I had hard coded the image path to an external site (rather than using the editors built in image upload feature).
'create' is actually a GD library command so I guess its possible that the php extension is being added somewhere.
Sorry I cannot be more specific as the problem I had seemed to cure itself and even though the 'preview' pane showed this error a few times, when I went to look at my news article, the image was there with no problems.
If your using a dedicated or VPS you might want to try re-compiling apache ensureing GD and EXIF supprt is enabled. |
|
Back to top |
|
|
floppy
|
Posted: Mon Jul 30, 2007 12:10 pm Post subject: Re: php 5 configuration and WYSIWYG |
|
|
I found the problem. I have installed a smiley generator on my site.
http://www.clan-themes.co.uk/smileys.html
To use I had to add some .htaccess code. It is as follows. (yeah its the cause I should of know gah)
Code:#--SmileyScript
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.smileysigncreator.com
AuthUserFile /home/smileysi/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/smileysi/public_html/_vti_pvt/service.grp
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule image/(.+) create.php?id=$1 [L]
</IfModule>
|
Now I just gotta figure out how to fix it.
Maybe its that last rewrite and the path. |
|
Back to top |
|
|
floppy
|
Posted: Mon Jul 30, 2007 12:15 pm Post subject: Re: php 5 configuration and WYSIWYG |
|
|
Confirmed! I changed that last rewrite rule to the direct path and it works like a charm now. |
|
Back to top |
|
|
kguske
|
Posted: Mon Jul 30, 2007 4:57 pm Post subject: Re: php 5 configuration and WYSIWYG |
|
|
Great - thanks for the follow-up! |
|
Back to top |
|
|
Guardian
|
|
Back to top |
|
|
|