Blank page issue for OpenCart site - opencart

I'm getting blank page when I go to URL http://www.example.in/
But when I open link http://www.example.in/index.php?route=common/home I can see my website with assigned theme.
I checked error logs from admin panel. But didn't found any error.

Related

Django admin page not work properly and show weird look

Today I have updated Django to the latest version.
But for some reason when the logged in to the admin page, all I cans see is a weird-looking admin page.
enter image description here
how to solve this problem?

Opencart - The register user page just reloads when we click continue

I am facing an issue with my open cart website wherein the user registration page when I hit the continue button by not entering some required fields the page just reloads without showing the validation message.
The user registration is working fine, the problem happening is when I don't enter any required field like first name or email or forget to check the agreement terms, the page just refreshes without showing the required field validation message or any error when the continue is clicked.
Link: https://www.pickupbest.com/index.php?route=account/register
Varun
If you don't see the validation message after reload - open page code view (Ctrl+U in Chrome and Firefox). There you will find your error messages:
<div class="text-danger">First Name must be between 1 and 32 characters!</div>
I can see them for a split second in the browser, but then some JS removing it. It may be in the current template.
in register.tpl look for
$(element).parent().find('.text-danger').remove();
Try to comment it and see whats happens.
Or it could be catalog/view/javascript/productenquiry/productenquiry.js, this line
$('.alert, .text-danger').remove();
Try to comment it, clear cache of your browser (Ctrl+F5, reload page with cache cleaning).

Django Administration page displays strangely

My django administration page shows different appearance like this in Chrome Browser, but it shows correct appearance in FireFox.

Clickin on Information link brings up blank page

None of my Information links work, when I click on them it only shows up as a blank page. the URL is right and the ID numbers are right eg. ?route=information/information&information_id=4.
Strangely when I click on the Terms and conditions link when completing an order it takes me to the correct page but only shows the content and none of the formatting of the home page. If I click on the same link from the footer it just shows as blank.
I have activated logging and no errors appear, I have checked the footer.tpl and everything looks fine. Does anyone have any ideas?
Thanks
The blank page is definitely an error, which should be visible in your error log (most likely from an extension/theme you've installed). If it doesn't show in the OpenCart error log under SYSTEM > ERROR LOGS then you need to check out your servers PHP error log. The T&C page is actually showing because it doesn't load through the same method as the one in your footer, and is supposed to be a simplistic page. However, this should load up in a popup not change your browser page. It sounds like your theme is screwing up

adding app to fanpage... fanpage not showing up on "Add Page Tab"

So I followed the directions on facebook to add my app (which is a tab) to my fanpage:
"Facebook Page administrators can add your app directly to their Page by navigating to the following URL: https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&next=YOUR_URL, where YOUR_APP_ID and YOUR_URL can be found in your app settings."
And I got the the Add Page Tab page as described above but when I click on "choose facebook pages" drop-down, the fanpage I want to add the app to is not listed. I'm an admin on the fanpage... any idea of what is wrong?
Try using this form http://addtopage.muffinsdeluxe.com/
It will generate the correct link you need to add the app to your page.
Good luck :)