Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 Internal Server Error #1493

Closed
sooryakalai opened this issue Aug 9, 2016 · 15 comments
Closed

500 Internal Server Error #1493

sooryakalai opened this issue Aug 9, 2016 · 15 comments

Comments

@sooryakalai
Copy link

sooryakalai commented Aug 9, 2016

Hello!!!
First is first I am using
Wordpress
Theme: Helium (v5.3.2 / g5_helium)
Gantry Version 5.3.2
Timber Version 1.1.2

I am using the new 'Helium theme' and I am facing this error when I try to assign a menu to the menu particle.
500 int error

The code from item.html.twig

{% extends 'forms/fields/select/selectize.html.twig' %}

{% block options %}
    {{ parent() }}
    {% if gantry.menu is not null %}
        {% for group, items in gantry.menu.getGroupedItems() %}
            {% if items|length %}
            <optgroup label="{{ group|capitalize }}">
            {% for key, item in items %}
            <option
                    {# required attribute structures #}
                    {% if key == value %}selected="selected"{% endif %}
                    value="{{ key }}"
                    {# non-gloval attribute structures #}
                    {% if field.options.disabled in ['on', 'true', 1] %}disabled="disabled"{% endif %}
                    >{{ item.spacing|raw }}{{ item.label }}</option>
            {% endfor %}
            </optgroup>
            {% endif %}
        {% endfor %}
    {% endif %}
{% endblock %}

PS: I am not a pro-web developer / programmer. I have been looking for a solution online, and am very desperate to get over with this issue. Any kind of help is highly appreciated.

Regards,
Soorya Kalaiselvan

@mahagr mahagr added this to the 5.3.3 milestone Aug 10, 2016
@mahagr
Copy link
Member

mahagr commented Aug 10, 2016

I believe its a bug; will investigate it more.

@mahagr
Copy link
Member

mahagr commented Aug 10, 2016

@sooryakalai

I was not able to reproduce the bug so please check if its fixed for you by installing latest CI build!

Please report back if the issue was fixed.

@sooryakalai
Copy link
Author

I am installing the latest CI build. Please give me some time.

Thanks,
Soorya Kalaiselvan

@sooryakalai
Copy link
Author

Hello!!!
I checked with the latest CI build, but the problem still persists
500 int error2
NOTE: you can see the latest build version on the background.

Regards,
Soorya Kalaiselvan

@mahagr
Copy link
Member

mahagr commented Aug 10, 2016

Can you enable debug mode from Gantry to see if there's anything else it reveals?

@mahagr mahagr reopened this Aug 10, 2016
@sooryakalai
Copy link
Author

I am afraid, it is already in development mode. I checked with production mode never the less but it still throws out the same error.

@sooryakalai
Copy link
Author

Same thing in the debug mode as well.

@mahagr
Copy link
Member

mahagr commented Aug 10, 2016

Just fixed admin to show more information if debug mode has been enabled from the plugin. Can you try with new CI build?

@sooryakalai
Copy link
Author

Should I install "wordpress-tpl_g5_helium_develop.zip" again? or is it " wordpress-pkg_gantry5_develop.zip"

@mahagr
Copy link
Member

mahagr commented Aug 10, 2016

its the later file, first one is the theme which doesn't have the bug. :)

@sooryakalai
Copy link
Author

Sorry about my "lack of knowledge on this subject ;) I am a Mechanical Engineer by profession. I am just loving web development specially because of Gantry framework. I am both grateful and exited about my amateur web dev skills. :)

@sooryakalai
Copy link
Author

500 int error resolved

You have no idea how my face looks right now. 😄 😆

With lots of thanks,
Soorya Kalaiselvan

@mahagr
Copy link
Member

mahagr commented Aug 10, 2016

Cool so it was indeed fixed. :)

@mahagr mahagr closed this as completed Aug 10, 2016
@igor-gp
Copy link
Contributor

igor-gp commented Aug 23, 2016

phew! we had the same error popping up and the latest CI fixed it, thanks @mahagr

@antonbw
Copy link

antonbw commented May 3, 2017

Hi I am a newb but I am having this same issue with a clean install of gantry 5 and Helium hatried both the latest versions 5.4.12 and latest CI but still unable to get menu ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants