Failed opening 'fckeditor_php4.php' error in entering news

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
akaxian
Posts: 3
Joined: Thu 2. Jul 2009, 23:25

Failed opening 'fckeditor_php4.php' error in entering news

Post by akaxian » Sun 5. Jul 2009, 20:45

My Server supports:
MySQL 4.0.21
PHP Version 4.2.3
GD Version 1.6.2


I've successfully installed 'phpwcms v1.4.2' . in admin page, i navigate to 'Create news entry' and i get news entry page. I can see all entry fields but in the end of the page, I am seeing this error:

Warning: Failed opening 'fckeditor_php4.php' for inclusion (include_path='') in /usr28313/home/a/k/user/public_html/phpwcms/include/inc_ext/fckeditor/fckeditor.php on line 29
Fatal error: Cannot instantiate non-existent class: fckeditor in /usr28313/home/a/k/user/public_html/phpwcms/include/inc_lib/wysiwyg.editor.inc.php on line 86

The code i see on fckeditor.php page's 29th line is:

include_once( 'fckeditor_php4.php' ) ;

I also tried inserting 'fckeditor\fckeditor_php4.php'. But still it don't work. Can some one help with this error ?

User avatar
Oliver Georgi
Site Admin
Posts: 9482
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau
Contact:

Re: Failed opening 'fckeditor_php4.php' error in entering news

Post by Oliver Georgi » Mon 6. Jul 2009, 08:39

Have you really made a full install or was it just an ugrade?

So compare your current install with default install package in include/inc_ext/fckeditor.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Kleintierpraxis am Georgengarten

akaxian
Posts: 3
Joined: Thu 2. Jul 2009, 23:25

Re: Failed opening 'fckeditor_php4.php' error in entering news

Post by akaxian » Tue 7. Jul 2009, 13:16

Hi Olivier

Its a first time, fresh install.
And after your reply, I re upoloaded '' folder. thinking there may be some files missing. but still i see this error on the bottom of create news entry or create article entry page:

Code: Select all

Warning: Failed opening 'fckeditor_php4.php' for inclusion (include_path='') in user/phpwcms/include/inc_ext/fckeditor/fckeditor.php on line 29

Fatal error: Cannot instantiate non-existent class: fckeditor in user//phpwcms/include/inc_lib/wysiwyg.editor.inc.php on line 86

User avatar
Oliver Georgi
Site Admin
Posts: 9482
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau
Contact:

Re: Failed opening 'fckeditor_php4.php' error in entering news

Post by Oliver Georgi » Tue 7. Jul 2009, 13:45

I have tested again. For me it works under PHP4 and PHP5. maybe your include directory setting is false.

Check my current changes here:
http://code.google.com/p/phpwcms/source/detail?r=328
http://code.google.com/p/phpwcms/source/detail?r=329

release 329 tries to include fckeditor_php4.php using absolute paths.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Kleintierpraxis am Georgengarten

akaxian
Posts: 3
Joined: Thu 2. Jul 2009, 23:25

Call to undefined function: mysql_real_escape_string()

Post by akaxian » Fri 10. Jul 2009, 11:20

Thanks a lot Scott. Fckeditor issue is fixed and it's working fine. I faced one more issue.
After creating a new article, I clicked on 'save and close'

now I am getting this error:
{STATUS_MESSAGE}
Fatal error: Call to undefined function: mysql_real_escape_string() in /user/phpwcms/include/inc_lib/dbcon.inc.php on line 142

Sorry to trouble you. Do I have to rework on the mysql tables or do i've to change some settings in mysql ?

Thanks

User avatar
Oliver Georgi
Site Admin
Posts: 9482
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau
Contact:

Re: Failed opening 'fckeditor_php4.php' error in entering news

Post by Oliver Georgi » Fri 10. Jul 2009, 14:45

Check this http://code.google.com/p/phpwcms/source/detail?r=332
I have implemented a fallback.

But you should try to upgrade your PHP version.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Kleintierpraxis am Georgengarten

Post Reply