Pod Pages do not save

0

I've just noticed the problem today but for some reason I am unable to save pod pages anymore in the admin. This is affecting 2 sites that I am using pods on.

I don't get an error - it just doesn't do anything. Templates and helpers are saving just fine. I am running 1.8.4 (since both are production sites I am hesitant to make the upgrade until I need to).

asked May 8 '10 at 5:35

kunal17

11

add comment
enter at least 15 characters

20 Answers

1

Here are the mod_security rule IDs that have caused me issues and by whitelisting a site was able to get around them.

Rule IDs: 340151, 340153, 340163, 1234234, 340161, 380018, 340118

answered Jun 3 '10 at 9:10

sc0ttkclark

2936

add comment
enter at least 15 characters
1

For everyone who is having this issue, I've found that there are multiple things that are triggering mod_security rules on HostGator Shared hosting and other hosting like that. When you tighten up security, it becomes difficult to run something of the caliber of Pods.

I'm checking with HostGator now for more insight on which rules that are getting triggered and more specifics for the rest of you to reference.

answered Jun 3 '10 at 6:57

sc0ttkclark

2936

add comment
enter at least 15 characters
0

Looking at firebug, I see that I get a 404 Not found for api.php (path seems correct).

However, when the pod page edit screen is first loaded, it loads api.php ok (200 OK).

Please help me find a solution to this problem. Thanks!

answered May 8 '10 at 6:01

kunal17

11

add comment
enter at least 15 characters
0

I also have trouble saving existing pod items, not sure if its the same problem. What other information can I provide to help solve this problem?

answered May 10 '10 at 6:17

kunal17

11

add comment
enter at least 15 characters
0

Note: I just upgraded to Pods 1.8.7 and I still have the same problem.

answered May 10 '10 at 6:44

kunal17

11

add comment
enter at least 15 characters
0

I have had the same problem now for a while, tried to make it known on the forum and via chat room, but to no avail. I cannot update pod items and also cannot create new ones. After saving, it says "Item updated" but the new data does not get saved in any way. The information that I need to add is time sensitive and important, but the whole project is basically at a standstill. ==> http://podscms.org/forums/general-discussion/pod-item-not-saving

answered May 10 '10 at 7:05

flightoftheowl

1

add comment
enter at least 15 characters
0

@flightoftheowl,

Thanks for the info.

Do you also get an error saying .../pods/ajax/api.php 404 Not Found in Firebug?

I dont have Pods UI installed btw.

answered May 10 '10 at 8:36

kunal17

11

add comment
enter at least 15 characters
0

Are you using a hosting company like HostGator with Shared Hosting? Check to see if "http://" is contained with the problematic pages.

If so, it may be a mod_security issue.

If not, it may be a permissions issue in which the permissions on the folder (or one of the parent folders all the way down).

answered May 10 '10 at 8:40

sc0ttkclark

2936

add comment
enter at least 15 characters
0

@scottkclark,

I am using Hostgator with shared hosting actually.

Could you explain how to check if http:// is contained? I am looking at firebug and it shows that the api.php is not found with the url as http://theindianstartup.com/wp-content/plugins/pods/ajax/api.php

This is the right url I think.

How can I resolve the mod_security issue? What permission level is required on the ajax folder?

answered May 10 '10 at 8:47

kunal17

11

add comment
enter at least 15 characters
0

I just checked my error logs and see the following messages that seem to relate:

[10-May-2010 07:45:29] PHP Warning: Invalid argument supplied for foreach() in /home/kunal17/public_html/theindianstartup/wp-content/plugins/pods/core/PodAPI.class.php on line 524

[10-May-2010 07:45:29] PHP Parse error: syntax error, unexpected '{' in /home/kunal17/public_html/theindianstartup/wp-content/plugins/pods/core/PodAPI.class.php(686) : eval()'d code on line 8

[10-May-2010 12:59:06] PHP Catchable fatal error: Object of class stdClass could not be converted to string in /home/kunal17/public_html/theindianstartup/wp-includes/formatting.php on line 1229

answered May 10 '10 at 9:06

kunal17

11

add comment
enter at least 15 characters
0

@kunal17 - It is definitely not a Pods UI issue...

And I am not sure how to check for errors in firebug :P

In firebug I have the "Console" tab selected, and under that is selected "Show Javascript errors" and "ShowXMLHttpRequests" (these are the defaults) - when i then try to save my pod item, the following comes up only:

POST http://www.familyholidayandleisure.com/wp-admin/admin-ajax.php 200 OK 2.87s

POST http://www.familyholidayandleisure.com/wp-content/plugins/wp-post-thumbnail/wppt_admin.php 200 OK 3.13s

I have now also gone to check my error_log (yes also hosted at Hostgator and shared server) - my error_log is however 138MB in size :P - and is still downloading now (any advice here? should i delete the file after downloading?)

I also do not know how to check if http:// is contained, or how to resolve mod_security issues or even which folders to check?

answered May 10 '10 at 9:46

flightoftheowl

1

add comment
enter at least 15 characters
0

flightoftheowl,

My error log was also large. I just deleted it and it created a new smaller one that I could download easily.

answered May 10 '10 at 9:50

kunal17

11

add comment
enter at least 15 characters
0

@kunal17 - Thanks for that, did as you said, resaved my pod item and the following is what the newly created error_log spits out:

[10-May-2010 09:08:45] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/ixed.5.2ts.lin' - /usr/local/lib/php/extensions/no-debug-zts-20060613/ixed.5.2ts.lin: undefined symbol: executor_globals_id in Unknown on line 0 [10-May-2010 09:09:28] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/ixed.5.2ts.lin' - /usr/local/lib/php/extensions/no-debug-zts-20060613/ixed.5.2ts.lin: undefined symbol: executor_globals_id in Unknown on line 0 [10-May-2010 09:09:40] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/ixed.5.2ts.lin' - /usr/local/lib/php/extensions/no-debug-zts-20060613/ixed.5.2ts.lin: undefined symbol: executor_globals_id in Unknown on line 0

Doesn't seem very helpful to me at all though :(

answered May 10 '10 at 10:14

flightoftheowl

1

add comment
enter at least 15 characters
0

@Scott, Considering both flightoftheowl and I are having similar problems (although the error logs dont seem to match), and we are both on hostgator, it might be a change that hostgator implemented recently.

I would like to ask them about it but don't know where to start. Can you suggest what questions we should be asking hostgator help to resolve this issue?

Its kind of urgent as all pods related development has stopped as of now.

Thanks for your help!

answered May 11 '10 at 5:17

kunal17

11

add comment
enter at least 15 characters
0

Ok, the pod pages have started saving again and I haven't made any changes. Could be a glitch that got resolved with hostgator?

I hope it stays fixed.

answered May 11 '10 at 8:21

kunal17

11

add comment
enter at least 15 characters
0

@kunal17 - Could be, that's an interesting issue you were having. To know if http was being submitted is to check the pod page code, if it's there, that's what the issue was. But perhaps it was a temporary issue with HostGator, or something else entirely..

answered May 12 '10 at 5:12

sc0ttkclark

2936

add comment
enter at least 15 characters
0

I'm having the same problem - pods pages not saving. The save changes button will become depressed, then it goes grey. No indication of saving.

answered Jun 3 '10 at 9:35

johncrumpton

1

add comment
enter at least 15 characters
0

I'm having the same problem - pods pages not saving. The save changes button will become depressed, then it goes grey. No indication of saving.

Update - the problem was in my .htaccess file, I had followed this post:

http://www.wprecipes.com/wordpress-tip-quickly-secure-plugin-files

and looking at the logs,client denied by server configuration: /var/www/vhosts/WEBSITE/httpdocs/wp-content/plugins/pods/ajax/api.php, referer: http://www.WEBSITE/wp-admin/admin.php?page=pods-browse-people&action=edit&id=9

answered Jun 3 '10 at 9:35

johncrumpton

1

edited Jun 3 '10 at 9:44

add comment
enter at least 15 characters
0

Not sure this makes any difference or not, but I was having the same problem with saving and getting 404 errors. Just on a hunch, I removed a couple of HTML tags (<br /> specifically) in code fields and was then able to successfully save my pod objects.

answered Sep 30 '10 at 8:31

r0nn1ef

1

add comment
enter at least 15 characters
0

Is "php_value zend.ze1_compatibility_mode" set to "On" in your php-config? Set it to "Off", that worked for me when I had trouble saving.

answered Oct 18 '10 at 3:33

lenzcom

36

add comment
enter at least 15 characters