0

fck editor image upload failing in my server. images are not uploading. but it is working in my localhost.....plz tell me what to do?

2
Contributors
23
Replies
24
Views
7 Years
Discussion Span
Last Post by ApocDen
0

ok are you getting any errors, are you changing any thing on the script that you are uploading on to your server

0

no...as it is uploaded. and one thing i obsorbed it is working in my '.com' site but not working in '.in' site.

0

i have fck folder and it is including in my page. if you have it for check i will send you. but it is working in my localhost. can i send?

<? 
ob_start();
session_start();
 include("FCKeditor/fckeditor.php");
 ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<?php			
					$oFCKeditor = new FCKeditor('description'); 
					$oFCKeditor->BasePath = 'FCKeditor/';
					$oFCKeditor->Value = stripslashes($description);
					$oFCKeditor->Width  = '550' ;
					$oFCKeditor->Height = '400' ;
					$oFCKeditor->Create() ;
			   ?>
</body>
</html>

Edited by muralikalpana: n/a

0

i understanding it is not working but i have to know what are the errors that you are getting. and i just uploaded it on to my wamp (localhost) and it works fine

0

but it is not working in my server. in my '.com' working but '.in' not working. why?

Edited by muralikalpana: n/a

0

is there any other editors like fck? i downloaded cke editor but there is not coming image upload button when ever you upload image in server. you have any idea? i will send attachments now. integrate once and check image upload . in demo version there is upload button but in our script it is not displaying upload button.

Edited by muralikalpana: n/a

0

1) There may be different settings on your .com to your .in. You may need to read the CKEditor documentations and make sure that all the settings/ supports are on your site.

2) Are you getting any specific errors on your .in. When you run it on your .in what are you seeing on the screen. (Is it just a blank screen?)

0

hmm...displaying fck editor all functions are working fine. but when ever image uploads in to server there is not uploading . not displaying any error. and displaying as it is fck.

0

i will try nicedit. tinymce already used. in tiny editor also i am not getting upload button when i am uploading in the server. so i will try nicedit.

0

what is that settings?

settings such as the right php settings, is your php version up to-date

0

getting this error

Deprecated: Function eregi() is deprecated in /var/www/nicedit.com/upload/imageshack.class.php on line 75
0

code is here. when i upload an image getting this error. check once

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<div id="sample">
 
      <script type="text/javascript" src="http://js.nicedit.com/nicEdit-latest.js"></script> <script type="text/javascript">
  
      //<![CDATA[
 
      bkLib.onDomLoaded(function() {
   
      new nicEditor().panelInstance('area1');
   
      new nicEditor({fullPanel : true}).panelInstance('area2');
 
      new nicEditor({iconsPath : '../nicEditorIcons.gif'}).panelInstance('area3');
  
      new nicEditor({buttonList : ['fontSize','bold','italic','underline','strikeThrough','subscript','superscript','html','image']}).panelInstance('area4');
 
      new nicEditor({maxHeight : 100}).panelInstance('area5');

      });

      //]]>
  
      </script>
 
      <h4>
  
      Default (No Config Specified)
  
      </h4>
 
      <p>

      new nicEditor().panelInstance('area1');
 
      </p>
 
      <textarea cols="50" id="area1">

      </textarea>
 
      <h4>
 
      All Available Buttons {fullPanel : true}
  
      </h4>

      <p>
 
      new nicEditor({fullPanel : true}).panelInstance('area2');
 
      </p>
 
      <textarea cols="60" id="area2">
 
      Some Initial Content was in this textarea
  
      </textarea>
 
      <h4>

      Change Path to Icon File {iconsPath : 'path/to/nicEditorIcons.gif'}
 
      </h4>
  
      <p>
 
      new nicEditor({iconsPath : 'nicEditorIcons.gif'}).panelInstance('area3');
 
      </p>
 
      <textarea cols="50" id="area3">
  
      </textarea>
 
      <h4>

      Customize the Panel Buttons/Select List
 
      </h4>
  
      <p>
 
      {buttonList : ['fontSize','bold','italic','underline','strikeThrough','subscript','superscript']}
  
      </p>

      <textarea cols="50" id="area4">
 
      HTML content default in textarea

      </textarea>

      <h4>

      Set a maximum expansion size (maxHeight)
 
      </h4>
 
      <p>
  
      {maxHeight : 100}
 
      </p>
 
      <textarea style="height: 100px;" cols="50" id="area5">
 
      HTML content default in textarea
 
      </textarea>
 
      </div>
</body>
</html>
0

ok one way i know how to fix a "Deprecated" error on wamp is do downgrade php and restart all services

1) Click on the wamp tray icon -> PHP -> Version -> Get more
It will open your browser to the wamp site and you can see the list of different versions of php.
2) download the PHP 5.2.9-2 installer

3) Shut down WAMP and install 5.2.9-2 exe
make sure that wamp is completely shut down (Not put offline) before you install the php.

4) Restart WAMP and all it services.

5) back on the wamp tray icon -> PHP -> Version and then tagged 5.2.9-2 then click again on the wamp tray icon click on Restart All Services and it should be fixed.

0

also check and make sure all your files permission are set to 0777

if you dont mind i have a small doubt. where can i change write permissions in fck folder.

0

fully blank mind. even one editor is not supporting correctly.
tell me plz in ckeditor when image upload in popup box upload button not appearing. how to do for appear?

0

ok are you getting any errors, are you changing any thing on the script that you are uploading on to your server

hello....

in fck image upload when ever i press create a new folder in server then alerting this message.

You have no permissions to create the folder

except this nothing error.

0

to change the permission of a file on windows

right click -> properties -> security -> you should be able to see edit permission.
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.