google-code-export / wordpress-custom-content-type-manager

Automatically exported from code.google.com/p/wordpress-custom-content-type-manager
2 stars 1 forks source link

Error on latest update #513

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Fatal error: Call to undefined method SplFileInfo::getExtension() in 
###/wp-content/plugins/custom-content-type-manager/includes/CCTM_Ajax.php on 
line 82

Original issue reported on code.google.com by splitfir...@gmail.com on 23 Aug 2013 at 7:59

GoogleCodeExporter commented 9 years ago
Better stick to version 0.9.7.6 -- I removed the scandir because that was 
causing problems in some environments.  Looks like SplFileInfo causes problems 
in others.

Original comment by ever...@fireproofsocks.com on 23 Aug 2013 at 8:02

GoogleCodeExporter commented 9 years ago
I'm fine with that, how would I go about getting 0.9.7.6

Original comment by splitfir...@gmail.com on 23 Aug 2013 at 8:04

GoogleCodeExporter commented 9 years ago
Got a 
"###/public_html/wp-content/plugins/custom-content-type-manager/includes/CCTM_Aj
ax.php on line 80" when I tried to update--crashed the whole site.

Original comment by sunbeamc...@gmail.com on 23 Aug 2013 at 8:04

GoogleCodeExporter commented 9 years ago
With any plugin, you can download any published version on it's "Developers" 
page:

http://wordpress.org/plugins/custom-content-type-manager/developers/

Unzip that and use it to replace the directory inside wp-content/plugins/

Any time you have a fatal PHP error in an active plugin or theme, it will crash 
the site -- that's just a reality of PHP.  Your server is missing the 
SplFileInfo classes, so PHP crashes.  I was getting reports about scandir being 
problematic, so I implemented this alternative.  I'm damned if I do, damned if 
I don't.  Sigh.

Original comment by ever...@fireproofsocks.com on 23 Aug 2013 at 8:07

GoogleCodeExporter commented 9 years ago
Issue 514 has been merged into this issue.

Original comment by ever...@fireproofsocks.com on 24 Aug 2013 at 3:09

GoogleCodeExporter commented 9 years ago
Reverted to scandir.  Update to 0.9.7.9

Original comment by ever...@fireproofsocks.com on 24 Aug 2013 at 7:37

GoogleCodeExporter commented 9 years ago
Issue 517 has been merged into this issue.

Original comment by ever...@fireproofsocks.com on 24 Aug 2013 at 4:33

GoogleCodeExporter commented 9 years ago
Issue 516 has been merged into this issue.

Original comment by ever...@fireproofsocks.com on 24 Aug 2013 at 4:35

GoogleCodeExporter commented 9 years ago
it's ok now with 0.9.7.10
thank you

Original comment by zepe...@gmail.com on 24 Aug 2013 at 9:06

GoogleCodeExporter commented 9 years ago
Just for clarity, I'm still having the 'same' problem, having just upgraded to 
0.9.7.10 (Was that actually the upgrade that had the issue? Assumed the message 
just received meant you'd just released a newer upgrade ... suspect I may have 
been mistaken!) I've put 'same' in quote marks because actually the 
SplFileInfo::getExtension()undefined method for me is in 
"...\wp-content\plugins\custom-content-type-manager\includes\CCTM.php on line 
1228" rather than "....AJAX.php"

Original comment by michael...@gmail.com on 24 Aug 2013 at 9:30

GoogleCodeExporter commented 9 years ago
Try 0.9.7.11.  And I would recommend upgrading your web hosting -- I'm floored 
so many people are running this on such old web servers.  Environment issues 
like this are hard to test.

Original comment by ever...@fireproofsocks.com on 24 Aug 2013 at 10:50