Sitemap Module
ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5, ExpressionEngine 6
Back to this add-on's main page
View Other Add-ons From Brian Litzinger
Strange 500 error when trying to access via modules
Support (Resolved)
alamode
|
Posted: 20 November 2012 06:01 PM |
|
|
|
I was able to install Sitemap fine, but when I try to access it via the CP Modules section, I receive a 500 server error. I have tried to see why through the logs, but this is the most generic error I could have asked for.
It seems to hit at:
http://domain&D=cp&C=addons_modules&M=show_module_cp&module=sitemap
I can’t figure out why this is happening. I can access other modules fine. Any ideas what could be causing this?
Thanks,
Brian
|
|
|
PutYourLightsOn
|
Posted: 21 November 2012 06:27 AM |
# 1
|
|
|
hi brian, what versions of EE, PHP and the Sitemap Module are you on?
|
|
|
alamode
|
Posted: 21 November 2012 11:34 AM |
# 2
|
|
|
Oops. I guess that would help no?
EE v2.5.3 - Build Date: 20120911
PHP Version 5.3.13
Sitemap 2.6
|
|
|
alamode
|
Posted: 21 November 2012 12:56 PM |
# 3
|
|
|
If it helps, I found that it seems to break when the mcp.sitemap.php file is writing to the db around line 85.
// insert new row $this->EE->db->insert('sitemap', $data);
When I print out my data just before that point, I have this:
Array ( [url] => http://w3.dev.com/index.php/ [site_id] => 1 [change_frequency] => [priority] => )
UPDATE:
I was able to get this to work by modifying my exp_sitemap table to allow NULL entries. I don’t know if that should be ‘required’ though. ;)
|
|
|
PutYourLightsOn
|
Posted: 21 November 2012 01:10 PM |
# 4
|
|
|
hmm i’ll look into this, glad you got it working
|
|
|
alamode
|
Posted: 21 November 2012 01:27 PM |
# 5
|
|
|
It may be something with this local setup on IIS7 too. I just never ran into this before and thought I would reach out to make sure. Thanks Ben. Keep up the good work.
|
|
|
PutYourLightsOn
|
Posted: 21 November 2012 01:47 PM |
# 6
|
|
|
yeah that might explain it. sure thing!!
|
|
|