Keyword

500 server error when saving some documents

  • Kent Myers
  • Kent Myers's Avatar Topic Author
  • Offline
  • New Member
More
10 years 4 months ago #135562 by Kent Myers
Hello - I had posted this earlier as part of a multi-question post, so I'm separating it for easier tracking.

My Joomla site recently started having an issue where some K2 articles not being able to save. On some articles if you edit them and then try to save or even cancel, you get an Internal Server Error (500). If you were trying to edit the item from the front-end you'll get a black screen that you can't navigate away from.

This is not consistent but seems to happen to some articles more than others. I've tried turning the server PHP reporting on and the Joomla system to full error reporting, but no errors are shown.

I'm running K2 version 2.6.9 with Joomla 3.3.6. I've also reloaded both K2 and Joomla in case I had a file issue.

Any suggestions?

Thanks,
Kent

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 4 months ago #135576 by Krikor Boghossian
Replied by Krikor Boghossian on topic 500 server error when saving some documents
Hello Kent,

Can you look at your server's error_log for the actual PHP error?

Please Log in or Create an account to join the conversation.

  • Kent Myers
  • Kent Myers's Avatar Topic Author
  • Offline
  • New Member
More
10 years 4 months ago #135595 by Kent Myers
Replied by Kent Myers on topic 500 server error when saving some documents
I've looked at both the error_log in the site root and the one in /administrator, but no entries are created when the error happens.

One thing I have learned is that I can take the contents of an article in question, and copy and paste it to a new article and it will save fine. I've run the "repair and optimize" database function in Akeeba Admin Tools, but I'm wondering if I've got a DB error somewhere.

I appreciate any help here. We're in a panic since this is our last major issue before we go live with the site.

Kent

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 4 months ago #135597 by Krikor Boghossian
Replied by Krikor Boghossian on topic 500 server error when saving some documents
I will need some more info on your side.
How large where the images? Any attachments?
Also is it possible to have an example of the item?

Please Log in or Create an account to join the conversation.

  • Kent Myers
  • Kent Myers's Avatar Topic Author
  • Offline
  • New Member
More
10 years 4 months ago #135600 by Kent Myers
Replied by Kent Myers on topic 500 server error when saving some documents
To answer your other question, the one image is only 41kb

Please Log in or Create an account to join the conversation.

  • Kent Myers
  • Kent Myers's Avatar Topic Author
  • Offline
  • New Member
More
10 years 4 months ago #135602 by Kent Myers
Replied by Kent Myers on topic 500 server error when saving some documents
The spam filters won't let me post a direct link, but if you go to stnbeta (dot) com, then select "past issues" from the "magazine" menu.

The article "August 2014" is an example that can no longer be saved or edited.

The article "Test August 2014" is a new item that was copied from the original and saves fine.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 4 months ago #135608 by Krikor Boghossian
Replied by Krikor Boghossian on topic 500 server error when saving some documents
I can see a lot of HTML errors and inline attributes printed to the system's readmore separator. From the backend remove the read more and try again. If possible paste the text into notepad and then paste it in your editor.

Please Log in or Create an account to join the conversation.

  • Kent Myers
  • Kent Myers's Avatar Topic Author
  • Offline
  • New Member
More
10 years 4 months ago #135616 by Kent Myers
Replied by Kent Myers on topic 500 server error when saving some documents
Not sure where that extra readmore separator came from, or that odd code in it. However, deleting both separators didn't change anything, and the "test August 2014" article contains the same body copy, including the two separators. That one saves fine.

I also tried switching my default editor from JCE to TinyMCE with no change.

Thanks,
Kent

Please Log in or Create an account to join the conversation.

  • Kent Myers
  • Kent Myers's Avatar Topic Author
  • Offline
  • New Member
More
10 years 4 months ago #135644 by Kent Myers
Replied by Kent Myers on topic 500 server error when saving some documents
Any ideas what else I can try here? I'm at a loss with this and it is affecting enough articles that I can't go live with the new site.

Thanks,
Kent

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 4 months ago - 10 years 4 months ago #135648 by Krikor Boghossian
Replied by Krikor Boghossian on topic 500 server error when saving some documents
I am in the dark as well.
Which other extensions and K2 plugins are you using?

Since you are using the 2.7 DEV version I would recommend grabbing a fresher version and installing it on top.
Last edit: 10 years 4 months ago by Krikor Boghossian.

Please Log in or Create an account to join the conversation.

  • Kent Myers
  • Kent Myers's Avatar Topic Author
  • Offline
  • New Member
More
10 years 4 months ago #135652 by Kent Myers
Replied by Kent Myers on topic 500 server error when saving some documents
I've tried disabling any other plugin that had been installed in the last few months. The most recent was an update to Joocial, a social media component and plug in, but I've since disabled all of it in an effort to fix this issue.

I'm running a very recent version of 2.7 DEV (two or three days old) - this was also a test to see if K2 was the issue, but it behaves the same as 2.6.9 did.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 4 months ago #135653 by Krikor Boghossian
Replied by Krikor Boghossian on topic 500 server error when saving some documents
So Global Configuration's error reporting is not working and your error_log is not catching anything, right?

Without the error, we are in the dark. You should ask your hosting provider why 500 errors are not recorded in your error_logs.

Please Log in or Create an account to join the conversation.

  • Kent Myers
  • Kent Myers's Avatar Topic Author
  • Offline
  • New Member
More
10 years 4 months ago #135657 by Kent Myers
Replied by Kent Myers on topic 500 server error when saving some documents
Here is all I get from the error_log after clearing it and then forcing the error. I can't insert the log here because it thinks I'm uploading spam:

www.dropbox (dot) com/s/a7pz2wfztz7tkrv/error_log?dl=0

Thanks,
Kent

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum