Closed asap247 closed 9 years ago
Possibly related to #2156 or #2188
Can you please check your console for errors? Also please try this with out any other plugins activated.
Hi,
I am getting no php error messages and I tried deactivating all the plugins except pods and I tried changing to the default twenty twelve theme and still the problem persists.
I even tried deleting pods all together and reinstalled it from the wordpress plugins repository. Still same thing. There is no content box for the templates component. I can create a new template and edit it but the content box does not show up.
You can access my computer if you want to check out the problem.
I just fixed the problem:
I don't know if this is as easy as it was but you need to check this out.
In the Template.php file on line 81 you have: 'supports' => array( 'title', 'author', 'revisions' ),
I just changed line 81 to: 'supports' => array( 'title', 'editor', 'author', 'revisions' ),
Please look into this; I am not a PHP expert.
@asap247 I'm not sure why it is that way. There must be a reason, which I will try and figure out.
Question for you: When this happened did you have WPDEBUG enabled? I just had this happen to me while testing something else. No content box, in the reference area I got this error:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 8225 bytes) in /srv/www/wordpress-default/wp-content/plugins/pods-test/components/Templates/includes/functions-pod_reference.php on line 44
This happened to me while testing 3.0-unstable and was resolved when I switched back to 2.X, so probably unrelated. I just wanted to confirm that you didn't see the same thing.
'editor' is not enabled because we have a custom editor entirely for the page, via CodeMirror.
@unknownnf may know more about why the editor isn't shown in your case.
WPDebug is not enable as far as I know. There must be a problem with the editor for CodeMirror then. I really don't know what to do because I am getting no error message. The only fix would be to add 'editor' to the 'supports' array on line 81.
@asap247 Did you ever get a chance to check if you were getting any errors with WP_DEBUG enabled or to test with no other plugins enabled?
I disabled all other plugins except Pods and no content box in the template editor. The only thing that works is changing line 81 to add support for 'editor'.
As far as WP-debug enabled. I get no error messages. I can give you access to my computer to check the problem If you want.
What about with the default theme enabled? Also are you sure no JavaScript Console or PHP errors? Something has to either be ending execution before the editor is output or clashing with code mirror.
Do you see the page footer when you're on the template editor?
No errors, the page footer is still there ( Thank you for creating with WordPress.... Version number) - Footer.
No javascritp console or php errors.
Just no editor content box.
@asap247 I know you said before that the issue is present with no other plugins active. What about with the default theme activated instead of you theme? I'm trying to eliminate possibilities as to why this is happening to you and switching to a theme we know works, would allow us to either rule out a theme issue or to start narrowing our focus on your theme.
@asap247 can you post a screenshot of how it looks when there is no box?
The problem still occurs when no plugins are active and with the default theme as well.
@asap247 Have you updated to Pods 2.4.1? Also, earlier you offered to let us login to your site. I think that's probably prudent at this point. Can you please create an admin account for me using the email address Josh@pods.io
Another user is reporting the same issue here:
http://pods.io/forums/topic/template-textarea-not-appearing
I have requested debug info/ console check and will report back.
(this is ChrisPalle from Pods forum, btw) There are a couple errors in the console. Will post that next. In the meantime, here's my debug information:
Debug Information
WordPress Version: 3.9.1
PHP Version: 5.5.10
MySQL Version: 5.5.34
Server Software: Apache/2.2.26 (Unix) mod_fastcgi/2.4.6 mod_wsgi/3.4 Python/2.7.6 PHP/5.5.10 mod_ssl/2.2.26 OpenSSL/0.9.8y DAV/2 mod_perl/2.0.8 Perl/v5.18.2
Your User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36
Session Save Path: /Applications/MAMP/tmp/php
Session Save Path Exists: Yes
Session Save Path Writeable: Yes
Session Max Lifetime: 1440
WPDB Prefix: wp_ex3135
WP Multisite Mode: No
WP Memory Limit: 40M
Pods Network-Wide Activated: No
Pods Install Location: /Applications/MAMP/htdocs/tuxtoolshed/theuxtoolshed.com/wp-content/plugins/pods/
Pods Tableless Mode Activated: No
Pods Light Mode Activated: No
Currently Active Theme: TheUXToolshed - DMS Child Theme
Currently Active Plugins:
Custom sidebars: 1.6 DMS Professional Tools: 1.6.2 ExpressCurate: 1.2.3 Filtering: 1.7.2 PageLines Updater: 1.1 PLNextBox: 1.1 Pods - Custom Content Types and Fields: 2.4.2 Pods Frontier Auto Template: 1.1.0 Press This: 0.0.4.3 WP Retina 2x: 2.0.2
Also - I did a completely clean test install this morning. Installed nothing, but Pods. (no themes or anything, and same issues)
Here're the JS errors from the console:
Refused to execute JavaScript URL because it violates the following Content Security Policy directive: "script-src 'self' chrome-extension-resource:". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution. tinymce.min.js:3 (anonymous function) tinymce.min.js:3 c.run tinymce.min.js:3 c.add tinymce.min.js:3 N.init tinymce.min.js:8 (anonymous function) tinymce.min.js:8 (anonymous function) tinymce.min.js:3 i tinymce.min.js:3 h tinymce.min.js:3 (anonymous function) tinymce.min.js:3 n tinymce.min.js:3
Refused to execute inline event handler because it violates the following Content Security Policy directive: "script-src 'self' chrome-extension-resource:". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution. inject.htm:1
HEAD http://localhost:8888/wp-content/plugins/pods/ui/images/icon16@2x.png 404 (Not Found) retina.js?ver=1.3.0:139 RetinaImagePath.check_2x_variant retina.js?ver=1.3.0:139 RetinaImage retina.js?ver=1.3.0:148 context.onload retina.js?ver=1.3.0:54
HEAD http://localhost:8888/wp-content/plugins/pods/ui/images/pods-logo-notext-rgb-transparent@2x.png 404 (Not Found) retina.js?ver=1.3.0:139 RetinaImagePath.check_2x_variant retina.js?ver=1.3.0:139 RetinaImage retina.js?ver=1.3.0:148 context.onload retina.js?ver=1.3.0:54
HEAD http://localhost:8888/wp-content/themes/dms/dms/images/admin-icon@2x.png 404 (Not Found) retina.js?ver=1.3.0:139 RetinaImagePath.check_2x_variant retina.js?ver=1.3.0:139 RetinaImage retina.js?ver=1.3.0:148 context.onload
Update:
Just flushed browser cache, disabled all Chrome extensions, disabled all WP plugins, except Pods, flushed Pods cache.
There are no more JS errors, but same issue. No template textarea.
@wisdomandcraft Thank you for all of this information. Can you confirm that you get this issue with no other plugins active, and the default theme activated?
I'm searching for a similarity between you and @asap247 but not seeing one. Different php version, browser and operating system.
Thanks, @Shelob9. Yes. I can confirm. I did a fresh install in a new database. Installed only Pods. Turned off ALL Chrome Extensions. Flushed all cache.
I get the same problem in chrome, Firefox and Internet explorer.
On Jun 23, 2014, at 10:34 AM, wisdomandcraft notifications@github.com wrote:
Thanks, @Shelob9. Yes. I can confirm. I did a fresh install in a new database. Installed only Pods. Turned off ALL Chrome Extensions. Flushed all cache.
— Reply to this email directly or view it on GitHub.
I was hoping a second user with this issue would make it more clear why it was happening, but now I'm more confused.
Can you both please tell me about the environments you are experiencing this issue in? From your debug info, it looks like you are both testing locally, am I correct? Have you tried it on a remote host?
I'm developing locally with MAMP Standard ...v3.0.4,
PHP 5.5.10.. would that make a difference?
On Mon, Jun 23, 2014 at 2:00 PM, Josh Pollock notifications@github.com wrote:
I was hoping a second user with this issue would make it more clear why it was happening, but now I'm more confused.
Can you both please tell me about the environments you are experiencing this issue in? From your debug info, it looks like you are both testing locally, am I correct? Have you tried it on a remote host?
— Reply to this email directly or view it on GitHub https://github.com/pods-framework/pods/issues/2207#issuecomment-46879661 .
BAM. Uploaded to remote and it came up. So, reinstalled MAMP and it works!! Thank you so, much! Just an FYI. MAMP is now 3.0.5. (Guess there was a point release in the one day that I installed it. Go figure)
Another report, which was resolved by reinstalling WHM http://pods.io/forums/topic/template-content-area-blank-cannot-edit/
Hi!
I'm having this exact problem.
However, I'm not running a local environment.
I get no errors in the console in either Chrome or Firefox.
This is my debuginfo:
Debug Information
WordPress Version: 3.9.1
PHP Version: 5.4.19
MySQL Version: 5.1.63
Server Software: LiteSpeed
Your User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36
Session Save Path: /tmp
Session Save Path Exists: Yes
Session Save Path Writeable: Yes
Session Max Lifetime: 1440
WPDB Prefix: wp_
WP Multisite Mode: No
WP Memory Limit: 40M
Pods Network-Wide Activated: No
Pods Install Location: /hsphere/local/home/sevenths/battleofthebureaus.com/wp/wp-content/plugins/pods/
Pods Tableless Mode Activated: No
Pods Light Mode Activated: No
Currently Active Theme: Twenty Fourteen
Currently Active Plugins:
bbPress: 2.5.4 BuddyPress: 2.0.1 Events Manager: 5.5.3.1 Front-End Publishing: 2.2 Pods - Custom Content Types and Fields: 2.4.3 Social Login for wordpress: 5.6.1 WangGuard: 1.6-RC4
Check your HTML source of the template editor and see if you find multiple <script>
src references to "CodeMirror".
Just to be clear: I view source on the page, where I can edit or create a Pods template?
There's no references to CodeMirror.
Same issue - on multisite:
WordPress Version: 3.8.3
PHP Version: 5.4.10
MySQL Version: 5.1.61
Server Software: Apache/2.2
Your User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0
Session Save Path: /var/lib/php/session
Session Save Path Exists: Yes
Session Save Path Writeable: Yes
Session Max Lifetime: 1440
WPDB Prefix: wp_
WP Multisite Mode: Yes
WP Memory Limit: 512M
Pods Network-Wide Activated: Yes
Pods Install Location: /mnt/target04/858588/www.website.com/web/content/wp-content/plugins/pods/
Pods Tableless Mode Activated: No
Pods Light Mode Activated: No
Currently Active Theme: Minicorp Child
Currently Active Plugins:
Anti-spam: 2.1
BulletProof Security: .50.1
Contact Form 7: 3.7.2
Custom Login: 2.3.2
Dagon Design Sitemap Generator: 3.17
Download Manager: 2.6.0
Duplicate Post: 2.6
Easy FancyBox: 1.5.6
Events Manager: 5.5.3
Eyes Only: User Access Shortcode: 1.8.1
Google Analytics for WordPress: 4.3.5
Google XML Sitemaps: 4.0.3
Gravity Forms: 1.8.8
Gravity Forms CSS Ready Class Selector: 1.1
Gravity Forms Data Persistence Add-On: 3.0
Gravity Forms Survey Add-On: 2.1
Gravity Forms User Registration Add-On: 1.8
Multisite Plugin Manager: 3.1.4
Nav Menu Roles: 1.4.1
Pods - Custom Content Types and Fields: 2.4.3
Pods Alternative Cache: 1.0
Post Types Order: 1.6.8
Quick Count: 3.00
Remove query strings from static resources: 1.0
Revolution Slider: 3.0.5
Safe Redirect Manager: 1.7.2
SeedProd Coming Soon Pro: 3.15.2
Simple History: 1.3.6
Slick Contact Forms: 1.3.7
Social: 2.11
Theme My Login: 6.3.9
User Role Editor: 4.11
W3 Total Cache: 0.9.4
Widget Logic: 0.57
WordPress MU Domain Mapping: 0.5.4.3
WP Admin Bar Removal: 2013.0624.0361
As a temporary fix (as I need to edit templates), I followed the instructions left by asap247 and it worked for me:
I changed line 81 in Templates.php to: 'supports' => array( 'title', 'editor', 'author', 'revisions' ),
I now see the content editor field again
Another user is reporting this issue in the forums: http://pods.io/forums/topic/no-content-window-in-templates/
The most recent reporting user reports resolving by updating MAMP. They also report they had a plug-in conflict with Hooker (a PageLines DMS plugin).
Also discussed in IRC with @unknownnf who believes that the version of code mirror used here may to be blame.
Hi! I'm having this exact problem.
Debug Information WordPress Version: 3.9.1 PHP Version: 5.3.28 MySQL Version: 5.5.34 Server Software: Apache Your User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36 Session Save Path: /apachetmp/sessions Session Save Path Exists: Yes Session Save Path Writeable: Yes Session Max Lifetime: 21600 WPDB Prefix: wp_ WP Multisite Mode: No WP Memory Limit: 40M Pods Network-Wide Activated: No Pods Install Location: /nfsmnt/hosting1_1/b/2/b2388166-31c8-4247-ad22-0bf2cc81a6d7/destivego.com/sub/jaroo/wp-content/plugins/pods-2.x/ Pods Tableless Mode Activated: No Pods Light Mode Activated: No Currently Active Theme: Twenty Thirteen Currently Active Plugins: Pods - Custom Content Types and Fields: 2.4.3
I get the same problem in chrome, Firefox and Internet explorer.
@jaroc Do you have any console errors?
Yes, there are the screenshots of Console errors from the browsers firefox, chrome and opera:
Firefox:
Chrome:
Opera:
@jaroc Thanks for those screenshots, hopefully they will be helpful in sorting out the conflict with code mirror that is causing this.
Thank you for your response...hopefully, they will manage to sort it out, because Im a big fan of your pods plugin
We have the same problem on our site. The field does display occasionally, but it seems independent of browser version, and it invariably disappears again when the page refreshes. The problem exists on both our dev and production sites. Debug information included below. Obviously the live site has a lot of plugins active, but the problem persists on the dev site even after all other plugins are deactivated and the cache is cleared.
DEV SITE Debug Information WordPress Version: 3.9.2 PHP Version: 5.3.20 MySQL Version: 5.1.61 Server Software: Apache/2.2 Your User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.103 Safari/537.36 Session Save Path: /var/lib/php/session Session Save Path Exists: Yes Session Save Path Writeable: Yes Session Max Lifetime: 1440 WPDB Prefix: dfl_ WP Multisite Mode: Yes WP Memory Limit: 64M Pods Network-Wide Activated: Yes Pods Install Location: /mnt/stor0-wc2-dfw1/468595/818666/dev.dfl.org/web/content/wp-content/plugins/pods/ Pods Tableless Mode Activated: No Pods Light Mode Activated: No Currently Active Theme: DFL Currently Active Plugins: Pods - Custom Content Types and Fields: 2.4.3
LIVE SITE
Had a similar issue - content field would appear, but was unusable/inactive (so couldn't type in it). Was an issue with the Soliloquy Lite slider. From the console:
At least you were able to elicit errors in the Java console. For our site, the box just doesn’t appear, and no error is even detected.
@dweinlick Can you share your debug info from Pods Admin->Settings please? As you can see, we're struggling to identity a pattern that leads to this issue happening. Your information would be helpful.
Problem exists on both dev site and live site, even when using default themes.
DEV SITE WordPress Version: 3.9.2 PHP Version: 5.3.20 MySQL Version: 5.1.61 Server Software: Apache/2.2 Your User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.103 Safari/537.36 Session Save Path: /var/lib/php/session Session Save Path Exists: Yes Session Save Path Writeable: Yes Session Max Lifetime: 1440 WPDB Prefix: dfl_ WP Multisite Mode: Yes WP Memory Limit: 64M Pods Network-Wide Activated: Yes Pods Install Location: /mnt/stor0-wc2-dfw1/468595/818666/dev.dfl.org/web/content/wp-content/plugins/pods/ Pods Tableless Mode Activated: No Pods Light Mode Activated: No Currently Active Theme: DFL Currently Active Plugins: Pods – Custom Content Types and Fields: 2.4.3
LIVE SITE WordPress Version: 3.8.4 PHP Version: 5.3.20 MySQL Version: 5.1.61 Server Software: Apache/2.2 Your User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.103 Safari/537.36 Session Save Path: /var/lib/php/session Session Save Path Exists: Yes Session Save Path Writeable: Yes Session Max Lifetime: 1440 WPDB Prefix: dfl_ WP Multisite Mode: Yes WP Memory Limit: 64M Pods Network-Wide Activated: Yes Pods Install Location: /mnt/stor0-wc2-dfw1/468595/818666/www.dfl.org/web/content/wp-content/plugins/pods/ Pods Tableless Mode Activated: No Pods Light Mode Activated: No Currently Active Theme: DFL Currently Active Plugins: Admin Menu Editor Pro: 1.82 Akismet: 3.0.0 All-in-One Event Calendar by Time.ly: 2.1.4 All-in-One Event Calendar CSV Feed by Time.ly: 1.0.3 All-in-One Event Calendar Extended Views by Time.ly: 1.1.0 All-in-One Event Calendar Frontend Submissions by Time.ly: 1.1.0 All-in-One Event Calendar Super Widget by Time.ly: 1.0.7 All-in-One Event Calendar Venues by Time.ly: 1.0.15 Codepress Admin Columns: 1.4.9 Enable Media Replace: 2.9.6 Gravity Forms: 1.8.8 Gravity Forms + (More) Stripe: 1.8.1 Gravity Forms + Stripe: 1.8.1 Hide Admin Notices: 0.1 InfiniteWP - Client: 1.3.6 Intuitive Custom Post Order: 2.1.0 NS Cloner Pro: 2.1.5.8 Page Links To: 2.9.3 Pingdom Real User Monitoring: 1.0 Pods - Custom Content Types and Fields: 2.4.2 Pods Automatic Importer: 0.1 SB Welcome Email Editor: 3.9 Simple History: 1.3.6 Social Network Tabs: 1.7 User Switching: 0.9 WP-Mail-SMTP: 0.9.5
@dweinlick Thanks for the debug info. It looks like you're testing both environments from the same browser on the same computer. Can you please try from a different browser on the same computer and from a different computer entirely? In each case, please check the console for errors.
I have tested it in Chrome, FIrefox, Internet Explorer, and Opera. The same behavior exists browsers and computers.
Looks like a CodeMirror conflict, another plugin/theme is loading another CodeMirror version on EVERY admin page, not just their own.
I can confirm this is happening to us as well. Behavior we have observed:
Content area AND Pod Reference selector box will randomly not load on a template. You can refresh the page 3 or 4 times and sometimes it will load. Non-scientifically I would say it loads 1 in 5 attempts.
We have tried disabling all plugins other than pods and also using the default 2014 theme. We have also cleared the browser cache and turned off cache entirely. This is happening in Chrome and Firefox on the mac.
There are no console errors being thrown when this happens. It seems that we can sometimes click on the main Pods menu tab and then click on templates and then edit template and get the content box to load, but once it loads once it will not load again for some time.
Also, when we assign a Pod under Pod Reference and then click Update, that choice never sticks.
This is on a remote server using Rackspace cloud sites, and appears to be unrelated to the browser, cache, plugins, or theme based on our troubleshooting.
We're also seeing this problem, and we use Rackspace for hosting. Could that possibly be the source of the issue?
No I don't think so, because I have a different hosting provider and the problem still persists.
On Nov 3, 2014, at 10:11 AM, dweinlick notifications@github.com wrote:
We're also seeing this problem, and we use Rackspace for hosting. Could that possibly be the source of the issue?
— Reply to this email directly or view it on GitHub.
Could we identify something those hosting providers have in common that might be the root of the problem?
Hi,
In the Template component field, I don't have a content box to enter any content. I used to have one but not anymore. I checked the screen options on top and there is no field to apply there either. I have the following information saved, I tried disabling all the plugins except pods and still no effect, its the same thing in all browsers:
Debug Information WordPress Version: 3.9.1 PHP Version: 5.2.17 MySQL Version: 5.1.73 Server Software: Apache Your User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0 Session Save Path: /tmp Session Save Path Exists: Yes Session Save Path Writeable: Yes Session Max Lifetime: 1440 WPDB Prefix: wp_ WP Multisite Mode: No WP Memory Limit: 40M Pods Network-Wide Activated: No Pods Install Location: /home/metro/public_html/wp-content/plugins/pods/ Pods Tableless Mode Activated: No Pods Light Mode Activated: No Currently Active Theme: Genesis Child Theme Currently Active Plugins: Captcha: 4.0.1 Contact Form 7: 3.8.1 Content Aware Sidebars: 2.2.1 GARD Pro: 2.4.1 heatmap for WordPress: 0.2.1 Pods - Custom Content Types and Fields: 2.4 Preserved HTML Editor Markup: 1.5 Rank Tracker: 1.9 Redirection: 2.3.4 SEO Booster 2: 2.0.8 Wordfence Security: 5.0.9 WordPress Front-end Editor: 0.10 Wordpress Popular Posts: 2.3.7 WordPress SEO: 1.5.3.2 WP Lightbox 2: 2.28.8.5 WPSocialite: 2.4.1