|
Solved HTTP500 Error - Printable Version +- Curves UI (https://www.curvesui.com) +-- Forum: Product Support (https://www.curvesui.com/forumdisplay.php?fid=12) +--- Forum: Support (https://www.curvesui.com/forumdisplay.php?fid=4) +--- Thread: Solved HTTP500 Error (/showthread.php?tid=45) |
HTTP500 Error - Screwy - 10-03-2024 When I activate the theme and enter the site, it gives an http 500 error. What is the reason? RE: HTTP500 Error - Matty Wjeisz - 10-03-2024 Hi Screwy, Go into Admin CP > Templates & Style > Templates > (select theme) > Navigation Templates > nav Find this code: PHP Code: <if $_SERVER['REQUEST_URI'] != '/' then>And replace with this: Code: <div class="navigation">It's an error I made in the previous version but I haven't been able to release a patch for it yet. RE: HTTP500 Error - Hazel - 10-03-2024 (10-03-2024, 06:07 PM)Matty Wrote: Hi Screwy, Do you need a plugin or a higher PHP version to use PHP syntax and variables in MyBB themes? RE: HTTP500 Error - Matty Wjeisz - 10-03-2024 You can do it without a plugin but it was an erroneous copy and paste from another project I was working on. You can also use Template Conditionals as well. RE: HTTP500 Error - Hazel - 11-03-2024 Hmm interesting. I couldn't use themes that used these features on my forum, I had to delete these tags or else the forum would break. RE: HTTP500 Error - Matty Wjeisz - 11-03-2024 It’s definitely not ideal to use conditionals but if it’s for your own site it can be great for customization. |