Issues after update
-
Hi
Having major layout & missing image issues after latest update &/or WordPress update.
As you can see here teh last listing breaks, no links work & layout loooks straneg https://www.fromthetaptothetable.com/our-stockists/pg/10/#
This is how it should look https://www.fromthetaptothetable.com/our-stockists/
Also all of a sudden last week all thumbnails disappeared. When I checked source code I noticed they were looking for the images directly in the plugins folder, not the connections folder. I fixed this by moving the images directly into the plugins folder but obviously this isnt ideal!
Any reason why these issues happened all of a sudden?
John
-
@ johnegg
The image paths look fine to me, they s/b like this:
../wp-content/uploads/connections-images/{entry-name}/{image-name).{ext}
The only time I’ve, recently, seen where the image paths were odd is if the UPLOADS constant or the WP_CONTENT_DIR where set incorrectly in the
wp-config.php
file. Connections uses core WP functions which depend on those paths being set correctly (if manually set in thewp-config.php
file).Connections did store images in the
../wp-content/connection_images/
folder. This was changed to be more inline with current WordPress best practices. Connections, for backward support will first check the legacy folder for the image and if found move it to the correct folder.With the above said … are you sure you moved images to the
../plugins/connections/
folder? I ask because Connections definitely does not look in the../plugins/connections/
folder.As for the last listing … my best guess there is something Bio field of that entry causing issues…
I suggest removing any content you have in that field, update it and check to see if it is resolved. If it is, there something within that content that is causing the page to stop being rendered. Do perhaps have a shortcode from another plugin or the theme within the Bio field … even though Connections supports the usage of shortcodes from within the Bio field, not all plugins like it.
Hoe that helps, let me know.
My apologies shazahm1, the image issue I got mixed up with another plugin issue I was having today (I had a day of issues!).
The issue I had with connections is the thumbnails are not appearing in admin when you go to “manage” despite the fact that they all have thumbnails attached. Some of them do have thumbnails though.
Also when i add a new entry & upload images, the screen goes white after I click submit! Something very wrong there.
The layout issue – if I go in & edit that last entry you see in link above, the content box doesnt even appear. The page layout is broke & none of teh buttons work (in admin) so I cant edit the listing. If i go in to any other one then it works fine.
Ironically its the one with the thumbnail showing that seems to break the layout!
cheers
john@ johnegg
Since there are known issues (past and present) with other plugins and such. The best move forward is to eliminate other factor that could be breaking Connections.
Temporarily, deactivate all other plugins. Do the issue still exist with Connections? If they do not, activate your plugins one at a time checking for the issues between every plugin activation. When the issues return, then you’ve identified the plugin causing you trouble. If deactivating all other plugins do not solve the issue, we’ll have to try something else.
As for the images not showing in the admin … are you certain? I ask because I see you’re using
logos
. Logo s are only shown when you edit an entry … only then photo is displayed on the Connections : Manage admin page.Hope that helps, Let me know.
Ok thanks. I just noticed yes that when i add a photo it appears in admin. However I also figured out that its when I add both a logo & an image together that breaks the system & i get the white page. Any ideas? It works fine if i just add a logo.
Ill try the plugin switching in mean time but my gut says something is up with connections! ??
@ johnegg
Try smaller images or increasing the max PHP memory. By default Connections will use the default set by the WP_MAX_MEMORY_LIMIT constant.
I do the page 10 is fine now too … so things do appear to be working as expected … just that white screen which is either memory related or a fatal PHP error occurring in the background. If it is a PHP error, check your PHP error log after adding images. If you do not know where this log is, you’ll have to ask your webhost as it depends their server configuration.
Hope that helps!
Great thanks
Ok i just tried uploading an image that is 400kb in size, and still getting white screen. So dont think its memory? Also if i just upload an image, no logo I still get the white screen.
Edit: Ok false alarm, its not fixed!
I literally deactivated very plugin bar connections, still cant add an entry using image & logo. Getting the white screeen.
Help please!
@ johnegg
Did you look in your PHP error log like I suggested in my last reply?
@ johnegg
I’m still leaning towards PHP memory … a photo is processed three times for 3 sizes vs. a logo which is process in only a single size. So that could be the difference. … Did you try to upload the working log as the photo instead to see if that worked or not? I asked because I have run into instances even if pretty rare, where the image would just not work. Simply making a change to the image and resaving cause it to work, its rare but does happen. Another thing to check … are the file types the same. I have come across instances where the server simply was not configured to handle gifs or pngs.
There is no error log! Ill get in touch with hosting company so & see if its a memory issue & if they can enable error logs. I cant understand though how uploading a 400kb image can cause memory issues. Its a jpeg also & I tried resaving it but no joy.
@ johnegg
It’s the only thing I can think of … the same code is used on the image as the logo the only difference being three sizes are created and cached instead of just one and those three times is the same code just run with different size settings. Double check the image size settings on the Connections : Settings admin page under the Images tab.
Also …
Try enabling WP_DEBUG_LOG. When using this WP_DEBUG has to be enabled too.
Ok this is the debug:
[26-Nov-2014 20:43:02 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the
wp_enqueue_scripts
,admin_enqueue_scripts
, orlogin_enqueue_scripts
hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/sites/f/fromthetaptothetable.com/public_html/wp-includes/functions.php on line 3370
[26-Nov-2014 20:43:02 UTC] PHP Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until thewp_enqueue_scripts
,admin_enqueue_scripts
, orlogin_enqueue_scripts
hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/sites/f/fromthetaptothetable.com/public_html/wp-includes/functions.php on line 3370
[26-Nov-2014 20:43:02 UTC] PHP Notice: Use of undefined constant FAQ_VER – assumed ‘FAQ_VER’ in /var/sites/f/fromthetaptothetable.com/public_html/wp-content/plugins/aspire-smart-faq/aspire_smart_faq.php on line 29
[26-Nov-2014 20:43:02 UTC] PHP Notice: Use of undefined constant FAQ_VER – assumed ‘FAQ_VER’ in /var/sites/f/fromthetaptothetable.com/public_html/wp-content/plugins/aspire-smart-faq/aspire_smart_faq.php on line 30
[26-Nov-2014 20:43:02 UTC] PHP Notice: Use of undefined constant FAQ_VER – assumed ‘FAQ_VER’ in /var/sites/f/fromthetaptothetable.com/public_html/wp-content/plugins/aspire-smart-faq/aspire_smart_faq.php on line 34
[26-Nov-2014 20:43:02 UTC] PHP Notice: get_current_theme is deprecated since version 3.4! Use wp_get_theme() instead. in /var/sites/f/fromthetaptothetable.com/public_html/wp-includes/functions.php on line 3201
[26-Nov-2014 20:43:02 UTC] PHP Notice: get_current_theme is deprecated since version 3.4! Use wp_get_theme() instead. in /var/sites/f/fromthetaptothetable.com/public_html/wp-includes/functions.php on line 3201
[26-Nov-2014 20:43:05 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until thewp_enqueue_scripts
,admin_enqueue_scripts
, orlogin_enqueue_scripts
hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/sites/f/fromthetaptothetable.com/public_html/wp-includes/functions.php on line 3370
[26-Nov-2014 20:43:05 UTC] PHP Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until thewp_enqueue_scripts
,admin_enqueue_scripts
, orlogin_enqueue_scripts
hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/sites/f/fromthetaptothetable.com/public_html/wp-includes/functions.php on line 3370
[26-Nov-2014 20:43:05 UTC] PHP Notice: Use of undefined constant FAQ_VER – assumed ‘FAQ_VER’ in /var/sites/f/fromthetaptothetable.com/public_html/wp-content/plugins/aspire-smart-faq/aspire_smart_faq.php on line 29
[26-Nov-2014 20:43:05 UTC] PHP Notice: Use of undefined constant FAQ_VER – assumed ‘FAQ_VER’ in /var/sites/f/fromthetaptothetable.com/public_html/wp-content/plugins/aspire-smart-faq/aspire_smart_faq.php on line 30
[26-Nov-2014 20:43:05 UTC] PHP Notice: Use of undefined constant FAQ_VER – assumed ‘FAQ_VER’ in /var/sites/f/fromthetaptothetable.com/public_html/wp-content/plugins/aspire-smart-faq/aspire_smart_faq.php on line 34
[26-Nov-2014 20:43:06 UTC] PHP Notice: get_current_theme is deprecated since version 3.4! Use wp_get_theme() instead. in /var/sites/f/fromthetaptothetable.com/public_html/wp-includes/functions.php on line 3201
[26-Nov-2014 20:43:21 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until thewp_enqueue_scripts
,admin_enqueue_scripts
, orlogin_enqueue_scripts
hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/sites/f/fromthetaptothetable.com/public_html/wp-includes/functions.php on line 3370
[26-Nov-2014 20:43:21 UTC] PHP Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until thewp_enqueue_scripts
,admin_enqueue_scripts
, orlogin_enqueue_scripts
hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/sites/f/fromthetaptothetable.com/public_html/wp-includes/functions.php on line 3370
[26-Nov-2014 20:43:21 UTC] PHP Notice: Use of undefined constant FAQ_VER – assumed ‘FAQ_VER’ in /var/sites/f/fromthetaptothetable.com/public_html/wp-content/plugins/aspire-smart-faq/aspire_smart_faq.php on line 29
[26-Nov-2014 20:43:21 UTC] PHP Notice: Use of undefined constant FAQ_VER – assumed ‘FAQ_VER’ in /var/sites/f/fromthetaptothetable.com/public_html/wp-content/plugins/aspire-smart-faq/aspire_smart_faq.php on line 30
[26-Nov-2014 20:43:21 UTC] PHP Notice: Use of undefined constant FAQ_VER – assumed ‘FAQ_VER’ in /var/sites/f/fromthetaptothetable.com/public_html/wp-content/plugins/aspire-smart-faq/aspire_smart_faq.php on line 34
[26-Nov-2014 20:43:21 UTC] PHP Notice: get_current_theme is deprecated since version 3.4! Use wp_get_theme() instead. in /var/sites/f/fromthetaptothetable.com/public_html/wp-includes/functions.php on line 3201
[26-Nov-2014 20:43:21 UTC] PHP Notice: get_current_theme is deprecated since version 3.4! Use wp_get_theme() instead. in /var/sites/f/fromthetaptothetable.com/public_html/wp-includes/functions.php on line 3201
[26-Nov-2014 20:Makes no sense to me, im not a php dev! BUt can you spot anything that might be causing it?
@ johnegg
I do not see anything Connections related in this … did you try uploading a photo after enabling the debug log?
Also, when you paste the log you should paste it between backtick to make it easier to read. also, you should do a find and replace to remove everything before
/public_html/...
. You do not really want to be sharing that.Ok thanks, any way I can delete that post? ??
Yeah what I pasted there is what appeared after I tested. Bit strange how no errors are showing for connections yet im still getting blank screen?
- The topic ‘Issues after update’ is closed to new replies.