Re: X-Cart Smart Template v4.4.x
Just wondering if anyone else has encountered this issue after a fresh installation of Smart Template on 4.4.4?
Everything installs and seems to operate correctly. However, the home page of the shop comes up with "Remote server or file not found". Even if I select a different default x-cart theme, it still happens.
If I remove the code that is meant to be included in home.php after "require './auth.php';"
# Smart Template
if ($main == "" && $cat == 0 && $config['Smart_Template']['st_featured_new'] == 'Y') {
require './smart_new_products.php';
}
if ($main == "" && $cat == 0 && $config['Smart_Template']['st_featured_random'] == 'Y') {
require './smart_random_products.php';
}
if ($main == "" && $cat == 0 && $config['Smart_Template']['st_ticker'] == 'Y') {
require './smart_get_news.php';
}
# /Smart Template
Then the homepage of the site works fine. If I add that code back in, re-FTP, clear out cache / cookies / try it on a different machine / anything else that should isolate test it, the same thing happens.
I installed x-cart & the Smart Template only a few weeks ago, but had to reinstall everything due to a completely unrelated different reason. It is running on the same server however, and I had no issues the first time around.
I have run the SQL patch multiple times, although I'm sure it wouldn't have any effect anyhow.
The admin side of the shop is unaffected regardless of that code being present in home.php or not.
I have reuploaded all the Smart Template theme files also.
And yeah, even with that code there and using a default x-cart theme, the problem still occurs. Obviously, it can be left out and the shop still runs ok, however it means I cannot have any new products, random products or news on the front of the site.
I raised a ticket with xcartmods.co.uk a few days ago, but haven't heard a work back from them. Just wondering if anyone else out there in the cart community had encountered a similar issue?
Thanks in advance,
Paul
__________________
x-cart-4.2.2gold
|