Preview Slider Not Showing
This topic contains 20 replies, has 5 voices, and was last updated by Tom 10 years, 1 month ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: Flexslider, images, slider
-
AuthorPosts
-
September 20, 2014 at 5:17 pm #15980
Hi there,
I’ve got the latest version running on the latest version of WordPress and my preview listing images/slider is not showing. When I publish the listing, the slider and images display.
I printed out the post object so I can debug and here’s what I see:
—————————–
stdClass Object ( [preview] => gd_instructor [listing_type] => gd_instructor [package_id] => 6 [claimed] => 0 [post_title] => test [post_desc] => test [post_tags] => [cat_limit] => Array ( [gd_instructorcategory] => 0 ) [post_category] => Array ( [gd_instructorcategory] => ) [post_category_str] => Array ( [gd_instructorcategory] => ) [post_address] => 4655 Hanover Ave [geodir_location_add_listing_country_val] => United States [post_country] => United States [geodir_location_add_listing_region_val] => North Carolina [post_region] => Colorado [geodir_location_add_listing_city_val] => Boulder [post_city] => Boulder [post_zip] => 80305 [post_latitude] => 39.983057 [post_longitude] => -105.2406029 [post_mapview] => ROADMAP [post_mapzoom] => 9 [geodir_contact] => [geodir_email] => [geodir_website] => [geodir_twitter] => [geodir_facebook] => [geodir_certifications] => [post_images] => http://distressedmullet.com/wp-content/uploads/2014/09/temp_1/344.jpg [post_imagesimage_limit] => [post_imagestotImg] => 0 [geodir_accept_term_condition] => 1 [geodir_spamblocker] => 64 [geodir_filled_by_spam_bot] => [marker_json] => {“post_preview”: “1”,”t”: “test”,”lt”: “39.983057”,”ln”: “-105.2406029″,”i”:””} [ID] => 0 [post_author] => [post_date] => [post_content] => [default_category] => [post_type] => [filter] => raw )—————————–
As you can see the post_images variable has the image there but it’s in a temp folder. Permissions issue maybe?Also, I’m developing locally and it works fine there, it’s just an issue on the actual remote website.
Any ideas?
Thanks,
JonahSeptember 20, 2014 at 5:24 pm #15982Yes, it could be the sessions folder not writable. You can verify by looking at php settings with :
phpinfo();
Let us know,
September 20, 2014 at 5:25 pm #15983Hello, it’s most likely a permission issue, try to set 777 to the uploads folder (just to see if it’s a permission thing)
September 20, 2014 at 5:50 pm #15985This reply has been marked as private.September 20, 2014 at 6:07 pm #15986can you please send wp admin credentials pls?
Thx
September 21, 2014 at 12:42 am #16000This reply has been marked as private.September 22, 2014 at 2:57 pm #16134Hey guys, sorry to bug you but just wanted to check in quick and see if you had a chance to look into this more?
Thanks,
JonahSeptember 22, 2014 at 3:31 pm #16137Hi again,
admin credentials sent are not working, but I did some test with a normal user.
It appears that you customized the details page and the preview listings page to move sidebar elements inside the content area.
My best guess is that you edited the code of the preview listing page to get the image from the “temp” folder. Maybe it’s trying to get it from the final images location like the details page? That would explain it, because not being saved there yet, it couldn’t find it.
The only way to confirm that would be to have a look at your customizations.
Let us know,
September 22, 2014 at 4:07 pm #16145Hey paolo, thanks for the reply! Sorry the credentials didn’t work, I can resend if need be. I’m happy to provide FTP access if that would help too. The strange thing is though that this works locally just fine, so it must be something permissions/server related right?
Let me know what you’d like to try and take a look at this further.
Many thanks,
JonahSeptember 22, 2014 at 4:10 pm #16146No, I don’t think so, I think it’s code related.
The preview image is saved in the temp folder correctly and retrieved in the add listing form. (if you click on go back and edit you will see the image is there.)
Than when listing is pubblished image is correctly uploaded to the upload folder and removed from the temp folder.
Please send us both wp admin and ftp credentials and we will have a deeper look.
Thx
September 22, 2014 at 5:41 pm #16164This reply has been marked as private.September 22, 2014 at 9:10 pm #16180Hi,
I’ve installed Query Monitor (only admin users can see queries below the page) to troubleshoot the thumb in preview page not appearing and disabled w3t cache
and the ajax thumb plugin.Once finished we can’t deactivate query monitor and reactivate the other plugins.
I need to ask Stiofan to check this one cause I can’t seem to find the trouble.
We’ll keep you posted.
Thx
September 22, 2014 at 9:42 pm #16184Awesome, thanks paolo, you’re guys support has been impeccable!
September 23, 2014 at 12:27 pm #16248Hi Jonah,
The function “getimagesize” – http://php.net/manual/en/function.getimagesize.php
is not working on your server, i suspect it’s your PHP seting “allow_url_fopen” that is set to off.Let us know how you get on.
Thanks,
Stiofan
September 23, 2014 at 2:47 pm #16269Argh, my host says they cannot turn on allow_url_fopen for security reasons. They said they do support CURL though. Is there any other we can get this to work?
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket