Preview Slider Not Showing

This topic contains 20 replies, has 5 voices, and was last updated by  Tom 10 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #15980

    jonahcoyote
    Expired Member
    Post count: 89

    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,
    Jonah

    #15982

    Paolo
    Site Admin
    Post count: 31206

    Yes, it could be the sessions folder not writable. You can verify by looking at php settings with :

    phpinfo();

    Let us know,

    #15983

    Simone
    Expired Member
    Post count: 3515

    Hello, it’s most likely a permission issue, try to set 777 to the uploads folder (just to see if it’s a permission thing)

    #15985

    jonahcoyote
    Expired Member
    Post count: 89
    This reply has been marked as private.
    #15986

    Paolo
    Site Admin
    Post count: 31206

    can you please send wp admin credentials pls?

    Thx

    #16000

    jonahcoyote
    Expired Member
    Post count: 89
    This reply has been marked as private.
    #16134

    jonahcoyote
    Expired Member
    Post count: 89

    Hey 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,
    Jonah

    #16137

    Paolo
    Site Admin
    Post count: 31206

    Hi 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,

    #16145

    jonahcoyote
    Expired Member
    Post count: 89

    Hey 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,
    Jonah

    #16146

    Paolo
    Site Admin
    Post count: 31206

    No, 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

    #16164

    jonahcoyote
    Expired Member
    Post count: 89
    This reply has been marked as private.
    #16180

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    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

    #16184

    jonahcoyote
    Expired Member
    Post count: 89

    Awesome, thanks paolo, you’re guys support has been impeccable!

    #16248

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi 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

    #16269

    jonahcoyote
    Expired Member
    Post count: 89

    Argh, 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?

Viewing 15 posts - 1 through 15 (of 21 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount