Post by samuelw2 » Wed Nov 25, 2020 8:08 pm

Hello, today I tried optimizing my opencart eshop by adding google analytics addon and changing the htacess file. It seems rather unconneted, but right now I am facing a problem where my product descriptions dont render and php is shown instead of the actual html code. My OpenCart version is Here is a link to an example where this is happening ... lucas-c100.
my htaccess file (don't know if its relevant) looks like this:

Code: Select all

# 1.To use URL Alias you need to be running apache with mod_rewrite enabled.

# 2. In your opencart directory rename htaccess.txt to .htaccess.

# For any support issues please visit:

Options +FollowSymlinks

# Prevent Directoy listing
Options -Indexes

# Prevent Direct Access to files
<FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))">
 Require all denied
## For apache 2.2 and older, replace "Require all denied" with these two lines :
# Order deny,allow
# Deny from all

# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/

RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=extension/feed/google_base [L]
RewriteRule ^system/download/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

### Additional Settings that may need to be enabled for some servers
### Uncomment the commands by removing the # sign in front of it.
### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that.

# 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it:
# php_flag register_globals off

# 2. If your cart has magic quotes enabled, This may work to disable it:
# php_flag magic_quotes_gpc Off

# 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try
# php_value upload_max_filesize 999M

# 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value post_max_size 999M

# 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_execution_time 200

# 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_input_time 200

# 7. disable open_basedir limitations
# php_admin_value open_basedir none

RewriteCond %{HTTPS} off 
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$ $1.php
Please can anyone help me? This is really stresful as i have no idea what to do to solve the issue.



Wed Nov 25, 2020 6:05 pm

Post by IP_CAM » Wed Nov 25, 2020 11:39 pm

Well, this BURN ENGINE Theme is coded far from OC Default, try the same by switching
to the OC Default Theme, and contact the Theme Seller, to be of assistance, if it works
by use of the OC Default Theme.

Please don't send me OC Forum Personal Messages, just contact:
OC LIGHT Test Site:
OC V-PRO Test Site:
My Github OC Site:
2'800+ FREE OC Extensions on the World's largest Github OC Repository Archive Site.

User avatar
Legendary Member


Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by JNeuhoff » Wed Nov 25, 2020 11:51 pm

Your product page looks OK to me, it shows this description:

Veselý a náš najpredávanejší detský domček certifikovaný podľa EN 1176, určený pre MŠ a obce, reštaurácie, hotely, detské centrá atď.
Ako dopadová plocha stačí udržiavaný trávnik (výška podlahy 1 m).

Detský domček sa kotví pomocou zatĺkacích kotiev, ktoré sú súčasťou dodávky. Súčasťou dodávky je tiež odolná laminátová šmýkačka 2,4 m, kresliaca tabuľa, výstupný rebrík a lezecká stena

However, you should really use a different and more standard-compliant web theme, a style-tag is located before the DOCTYPE and head-tag, which is the wrong location.

Override Engine * Integrated VQMod * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Rich Snippets * Google Tag Manager * Export/Import Tool * SpamBot Buster * Survey Plus

User avatar
Expert Member


Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: Baidu [Spider] and 20 guests