joemoe1984
Forum Replies Created
-
I give up. Trying a new solution now
I want to check how all of these things are mapped in the database. I would believe the table
podsrel
would be a good place to start. However, I don’t know what each of the columns maps to and where to check. Is there any documentation on the database for this plugin?For instance I don’t know what these fields really mean:
pod_id field_id item_id related_pod_id related_field_id related_item_id weight
The pod_id seems relatively easy to figure out but what does it mean when there is a related_pod_id? Would that be a parent or vice versa or something else?
Any help would be much appreciated
I have a feeling that this should be a separate question
I just did a var_dump on the $pods object recovered from
$pods = pods('clients', pods_var(1, 'url'));
$pods->total_found = &NULL $pods->api->pod_data['storage'] = string(5) 'table'
Not sure if this helps. It looks like it is both trying to read from the table from the admin and the object that gets returned as well. I have to admit, I am a little stumped on this one.
I don’t know why total_found returns NULL and not just NULL but &NULL. The Pods class has a default value for total_found of (int) 0.
One other thing to note is I was getting database errors on the employees page before I updated the plugin from 2.3.8 to 2.3.9. This fixed that issue. Don’t know why. But the clients singular pages are still broken.
The route client/* is working. The custom php code in the precode page block is running. Which is how I was able to test that function to see if it was returning any results.
Hi There,
Thanks for the response.
1) I have a type of “Advanced Content Type” and storage type of “Table” for the clients pod.
2) I have no idea. I was brought in to fix the site which was working fine but they are now having issues with a lot of the data being pulled in. Mainly the Pods plugin. Its possible there could have been some corrupt stuff. They said they did a back up of the site which made some things work but they are now having to re-add some content.
There could be a lot of issues to fix but I feel that if I can get this fixed I will have a better understanding on how to fix the other stuff that isn’t working.
So just playing around with it a little more. I have found that by using
$pods = pods('clients', pods_var(1, 'url'));
$pods returns 0 results when using $pods->total_found(). However,
pods_var(1, 'url')
returns the slug name as a string. I did a manual search in the pods_clients table and found 1 result.I heard that Pods can use either the meta table in wordpress or use its own tables. Is it possible that its searching in the meta table? What would be a good way to find out if it is?
Forum: Fixing WordPress
In reply to: Site does not load resources from windows machine or mobile devicesOk so stackexchange is up now and I also Just figured out how to fix the problem. I figure I will share with you for anyone who is having the same issue.
I went to the wordpress admin page and went to Settings > General. From there I replaced localhost with my local ip in both the site address and wordpress address.
This seemed to have fixed it.
Forum: Fixing WordPress
In reply to: Site does not load resources from windows machine or mobile devicesAlso I have been trying to Google my answer however there are a lot of sites down right now….Stackexchange, OSXDaily and more…
Forum: Fixing WordPress
In reply to: gzdeflate() and load-styles.php issueThanks for the overview of whats happening. I was able to figure out what was going on with my local installation from the information your provided.
My fix had nothing to do with WordPress at all but with one of the PHP modules that wasn’t loaded. If you go into your php.ini file look for the following line.
zlib.output_compression = Off
Change that to
zlib.output_compression = On
Restart your Apache server and then try again. All my Admin pages were loading the styles properly now.