Home page and category page

Discussion in 'GeoCraft WordPress Theme' started by kjlinden, Oct 28, 2016.

?

How many users have had this issue?

Poll closed Nov 25, 2016.
  1. Yes

    100.0%
  2. No

    0 vote(s)
    0.0%
  1. kjlinden

    kjlinden New Member

    Joined:
    Oct 12, 2016
    Messages:
    11
    Likes Received:
    0
    I had a customer post a listing and I approved it. When I approved it my home page gave me an HTTP 500 error. This happens on both Chrome and IE. When I unpublished the listing everything works just fine. I disabled and re-enabled all plugins individually to see if it was a plugin error. Only the pages that this listing affects don't work when I publish it.

    upload_2016-10-28_9-14-18.png

    upload_2016-10-28_9-12-27.png
     
  2. kjlinden

    kjlinden New Member

    Joined:
    Oct 12, 2016
    Messages:
    11
    Likes Received:
    0
  3. rogerb

    rogerb Active Member

    Joined:
    May 8, 2012
    Messages:
    481
    Likes Received:
    33
    I tried to find the listing to have a close look at it but I assume you have removed it?

    Any way I would do several things:

    1. As the error message suggested inspect the server logs to see what possibly caused the problem.

    2. Remove/correct the offending L&amp:L in the title and check for it in the text.

    3. Copy/remove all the body text to see what happens.

    4. Look at it in 'Text' view to make sure that no malicious code has been inserted with white text colour!

    5. Make sure that you have enough server resources as this may have been the memory tipping point!

    6. delete the listing and manually insert it as administrator.

    One of the above should lead you to a solution to the problem, are you on a late version of the theme?

    Hope this helps

    Roger B
     
  4. kjlinden

    kjlinden New Member

    Joined:
    Oct 12, 2016
    Messages:
    11
    Likes Received:
    0
    I did all of that and it didn't work. I also disabled all plugins. All tended to break my site. I'm using GoDaddy WP Hosting if that matters.
    upload_2016-11-9_8-51-31.png
     
  5. rogerb

    rogerb Active Member

    Joined:
    May 8, 2012
    Messages:
    481
    Likes Received:
    33
    Then you must start from the basics and build up a test page to see when you hit the problem.

    Insert a new listing and enter the title under the admin IDE. Have a separate browser running to preview the listing. Start entering text, saving and then previewing until you hit the problem.

    Check the memory allocated for the site as it may not be able to use a minimal amount.
     
  6. kjlinden

    kjlinden New Member

    Joined:
    Oct 12, 2016
    Messages:
    11
    Likes Received:
    0
    So I did exactly what you said. I found out that it was the featured image that was causing the problem. The customer uploaded the image. The problem must be with the coding of the title contained: L&L and some other code. I tried changing the title to L&L Logo and it didn't fix the problem.

    Customer Image.png
     

    Attached Files:

  7. rogerb

    rogerb Active Member

    Joined:
    May 8, 2012
    Messages:
    481
    Likes Received:
    33
    OK, so try exporting the image to your desktop and then rename it (use underscores rather than hyphens, spaces or dots) In the IDE temporarily change the ownership of the listing to yourself, now delete the original image in the listing, upload the new renamed image, set it as the featured image and update the listing.

    If all is OK set the ownership of the listing back to the user and update the listing again.

    I often use the '&' in listing titles with no problem as Wordpress is quite flexible but I've never used an image with it in its title/file name.

    Hope this makes sense and helps.

    Roger B
     
  8. kjlinden

    kjlinden New Member

    Joined:
    Oct 12, 2016
    Messages:
    11
    Likes Received:
    0
    That did not work either. I transferred it to myself. downloaded the JPG. Changed the name to LLseamless.jpg and then when into edit page on the user side. I uploaded the image successfully but as soon as I left the page all other pages were broken. I backed up, deleted the uploaded image, saved the updated page and the site works again.
     
  9. kjlinden

    kjlinden New Member

    Joined:
    Oct 12, 2016
    Messages:
    11
    Likes Received:
    0
    I finally got it fixed though I don't like how I did it. I simply print screened the image and re-uploaded it. There must have been some internal code that it didn't like. I'm more concerned that it actually broke the whole website when the original image was uploaded. I uploaded the original file if anyone cares to take a look.
     

    Attached Files:

  10. rogerb

    rogerb Active Member

    Joined:
    May 8, 2012
    Messages:
    481
    Likes Received:
    33
    Strange behaviour indeed! Must have been some corruption in there somewhere or even some malicious code added in to it, glad its fixed though!
     

Share This Page