EllisLab text mark
Advanced Search
     
CP Crash caused by a plugin.
Posted: 28 August 2009 10:20 AM   [ Ignore ]
Avatar
Joined: 2008-08-05
18 posts

Just found a bug causing EECore 1.6.8 to crash. This is the error:

Warning: require_once(/edited/path/system/plugins/pi..php) [function.require-once]: failed to open stream: No such file or directory in /edited/path/system/core/core.typography.php on line 474

Fatal error: require_once() [function.require]: Failed opening required ‘/edited/path/system/plugins/pi..php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /edited/path/system/core/core.typography.php on line 474

It looks like the typography class of EECore doesn’t receive the filename of a plugin.

If you want to recreate the error:
Plugins I’m using in this weblog: repeet, textile
Extensions: File (Mark Huot)

1. When I post an article to the weblog and I don’t specify a file, everything seems to be fine.
2. If I post an article to the weblog with a file and use the Quick save, everything seems to be fine.
3. The error happens when I post an article with a file and press the Update button. The article however is inserted in the database and works fine on the front side of the website. The control panel shows the error.

Is there a way to know which plugin is crashing the CP? The strange thing is that the CP only crashes when I’m uploading a file and using the Update button.

 Signature 

http://vormplus.be/

 
Posted: 05 September 2009 10:06 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2008-08-05
18 posts

I think I found the problem. When I look into the database, there is something wrong with the entries for the File field.

(file_id_xx) contains the name of the image
(file_ft_xx) is set to NULL, causing EE to crash while searching for pi..php

When I set the file_ft_xx field to none, everything works fine again.
Is there any way to make the File extension add its entries in the database table with none for file_ft_xx?

 Signature 

http://vormplus.be/