Logo rotates on Holidays - Script
I want to install the following script: http://www.rswr.net/hlogoz-holiday-logo-changer/ on our home page. The script allows you to show a different logo (or any image) for each holiday.
I have placed the php include in head.tpl. Code:
{include_php file="/home/user/website-www/html/include/hlogoz/hlogoz.php"} To make sure I used the correct path, I first placed a test file in the same location (include/hlogoz/testfile.php) and it returned successfully when I visited our website's home page. However, when I use the code that calls hlogoz.php, I received the following error message upon visiting the home page: Quote:
I searched my x-cart files and found this error message to originate from x-cart's config.php file: Code:
# What could be the problem? |
Re: Logo rotates on Holidays - Script
make sure that you have assigned right template for this php file and called auth.php from your php file which will solve most of the authentication issues.
|
Re: Logo rotates on Holidays - Script
I have added
Code:
require "./auth.php"; Now I get the following error message: Quote:
My knowledge on php is limited. What else am I missing? Thanks |
All times are GMT -8. The time now is 10:07 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.