I tried customizer on two different themes: 'second' and 'default' but it didn't seem to work on either.
When I do all the changes and want to save the style by clicking on the 'Save Customizer Editing' I am getting '500' error, when I reload the page I can see this error on the top 'Notice: Undefined index: HTTP_REFERER in admin/controller/appearance/customizer.php on line 88' and when I click 'X' to exit the customizer I am getting logged off and redirected to the admin login page.
I am already checked all the file permissions and all of them are set to 777 so
How to fix it?
When I do all the changes and want to save the style by clicking on the 'Save Customizer Editing' I am getting '500' error, when I reload the page I can see this error on the top 'Notice: Undefined index: HTTP_REFERER in admin/controller/appearance/customizer.php on line 88' and when I click 'X' to exit the customizer I am getting logged off and redirected to the admin login page.
I am already checked all the file permissions and all of them are set to 777 so
How to fix it?
In Themes
Share this post:
Responses (8)
-
Accepted Answer
-
Accepted Answer
Whatever
I have just managed to fix it.
That was the problem: 'PHP Fatal error: Uncaught Error: Call to undefined function iconv() in /srv/http/admin/model/appearance/customizer.php:28'
From some reason I managed to install the Arastta without iconv. On the requirements page I found that "Mbstring / Iconv" so I fought it means, mbstring or iconv but I see now that I need iconv anyway. So anyway thanks for all your help. -
Accepted Answer
Have OpenCart gotten a Customizer, which you've tested on this same setup, since you're referring to it as "equal"? Anything else than the Customizer in Arastta not working on your computer? Else, does the Customizer in t.ex. Wordpress work on your computer?
Ref http://php.net/manual/en/reserved.variables.server.php
The address of the page (if any) which referred the user agent to the current page. This is set by the user agent. Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. In short, it cannot really be trusted.
But it could probably also be improved in Arastta yes.
$data['button_back'] = $this->request->server['HTTP_REFERER'];
But this is a notice for the back button, I don't think that is causing the "500 error" on save. -
Accepted Answer
In contrast OpenCart is working perfectly.
And my error logs are only full of this:
PHP Notice: Undefined index: HTTP_REFERER in admin/controller/appearance/customizer.php on line 88
I don't want to be mean but it seems that customizer on Arrasta's also don't seem to work, in fact it don't show any errors but any changes are not being visible either. -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
If you need to use chmod 777 your server sucks, and you need to move to better hosting anyway.
Anyhow, the Customizer do indeed work with PHP 7 and default templates (just tested it), so it must be you hosting blocking. Ask the admin to check the logs for Suhosin/ModSecurity (if activated) etc.
Also, if you use the custom fields, ensure there is nothing wrong in the data (try to remove). -
Accepted Answer
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »