Monday , February 3 2025

Warning: include cfg/tables.inc.php в Shop Script

I am not a fan of Shop Script, but his glitches are easily fixed. An error was found on the site in the filter, in the admin panel when working with the removal of additions to the product, etc. The error is always the same:

Warning: include(./cfg/tables.inc.php) [function.include]: failed to open stream: No such file or directory in /home/myru/public_html/shop/cfg/connect.inc.php on line 12

The solution is a little strange, but working:
in the file /cfg/connect.inc.php delete or comment out the line include(“./cfg/tables.inc.php”);

After that, be sure to place the same edits in the files:

/admin.php
/index.php
/includes/category.php

Clear the cache (if the problem was not resolved) and then reload the page.

About iryna

I'm Iryna, a web developer from Ukraine with a decade of experience solving complex technical challenges in the world of freelance. Throughout my career, I've worked on everything from troubleshooting server-side issues and optimizing website performance to enhancing user interfaces. On this blog, I share detailed solutions to the technical problems I’ve encountered and methods that have worked best for me. In addition to my technical expertise, I’m also passionate about digital drawing. I hope the tutorials and insights I provide here will help both fellow developers and creatives alike in their own projects.

Leave a Reply

Your email address will not be published. Required fields are marked *