We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

CP Crash caused by a plugin.

Development and Programming

Jan Vantomme's avatar
Jan Vantomme
18 posts
16 years ago
Jan Vantomme's avatar Jan Vantomme

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.

       
Jan Vantomme's avatar
Jan Vantomme
18 posts
16 years ago
Jan Vantomme's avatar Jan Vantomme

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?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.