Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount! Get 20% off now with code SPOOKY-2024!

[SOLVED] How to have more information about HTTP Error 500

  • fduchesne
  • fduchesne
  • OFFLINE
  • Posts: 30
  • Thanks: 4
  • Karma: 0
11 years 9 months ago - 11 years 8 months ago #218602 by fduchesne
Hello,

I have a problem on my site, when a user want to save his profil CB, I have a http 500 erreur :

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, postmaster@server.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Apache/2.2.16 (Debian) Server Port 80

My server supplier explain me it's because I have change htaccess file, but I don't touch it.

Do you know if it's possible to have more information about this error by activate an option in Joomla or CB ?

It's strange because I have this error just in profile save and never when I post a comments with JComment...

Strange...

Thanks for your support.
Last edit: 11 years 8 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
11 years 9 months ago #218610 by krileon
Enable debug mode and maximum error reporting within Joomla global configuration then attempt to save again and see if it exposes the error further. You've enabled or configured something that's acting on either Joomla or CB user save action or is messing with the profile update POST. Usually this is some sort of 3rd party Joomla user plugin conflicting and acting on Joomla user save.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • fduchesne
  • fduchesne
  • OFFLINE
  • Posts: 30
  • Thanks: 4
  • Karma: 0
11 years 9 months ago - 11 years 9 months ago #218700 by fduchesne
I found why I have an error, it's because in one hide tab who is hide when edit, I display substitution field.

For example I display the birthday with [cb:userfield field="cb_birthday" /] and when I save the user profil I have HTTP error 500 but if I just put [cb_birthday] or [cb:userdata field="cb_birthday" /] it's working...

cb_birthday is a date field and when I display with [cb_birthday] or [cb:userdata field="cb_birthday" /] it a YYYY-MM-DD display and when I use [cb:userfield field="cb_birthday" /] I have the correct display I want : 35 years.

Do you have an idea to have the same display with [cb_birthday] or [cb:userdata field="cb_birthday" /] ??

And to resume do you know why I have an error when I use [cb:userfield field="cb_birthday" /] ? Because this one give me the correct display (In Year) but when I modifiy the user profil, I have my HTTP 500 Error....

Thanks

PS : I don't have any error in my Joomla / CB Log files...
Last edit: 11 years 9 months ago by fduchesne.

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
11 years 9 months ago #218724 by nant
Did you follow Kyle's advise to turn on Joomla debugging to maximum level?

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

  • fduchesne
  • fduchesne
  • OFFLINE
  • Posts: 30
  • Thanks: 4
  • Karma: 0
11 years 9 months ago #218728 by fduchesne
Yes but I don't have any more error in the log directory on the root of my server...

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

  • fduchesne
  • fduchesne
  • OFFLINE
  • Posts: 30
  • Thanks: 4
  • Karma: 0
11 years 9 months ago #218763 by fduchesne
Hi,

I change my server configuration to have more error report.

Then when I update my profil and I have a [cb:userfield field="cb_birthday" /] fields on my page, I have this error message :

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 523800 bytes) in /web/domaine/www/components/com_comprofiler/plugin/user/plug_cbconditional/cbconditional.class.php on line 71

If I put [cb:userdata field="cb_birthday" /] or [cb_birthday] no error but I don't have the good display in profile view. I want year display and not a date....

Thanks for your help.

Best Regards.

Fred

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

Moderators: beatnantkrileon
Powered by Kunena Forum