saynernz Posted August 22, 2012 Share Posted August 22, 2012 Hi there, I have encountered a problem I haven't had before with Prestashop. I am using the new default theme available here: http://addons.prestashop.com/en/neutral/3337-prestashop-template-15.html with some changes to the CSS and a minor change to make it 2-column. I am working on getting a client's online store up and running, but I have found that when I try to add something to the cart, the following error occurs in a dialogue box: -- TECHNICAL ERROR: unable to add the product. Details: Error thrown: [object XMLHttpRequest] Text status: error -- But then I find when I click onto a new page or refresh, that the item has been added anyway. A similar thing occurs when trying to remove items from the dropdown cart in the header. I have already looked on this forum and tried various fixes that have been suggested, but nothing has worked so far. I contacted the guy who looks after our server, and he says he doesn't know what could be wrong. I have created a couple of other Prestashop sites on the same server but have not come across this issue before. Here is the URL for the site I am working on : http://preston.utopia.co.nz/~accent4f/ Link to comment Share on other sites More sharing options...
clayton29657 Posted August 22, 2012 Share Posted August 22, 2012 (edited) hello saynernz, I was just taking a look at the errors I found and it's showing It failed to load resource: the server responded with a status 500 (internal server errors). Ask your webhost what are the permissions set-up at thats what I see Edited August 22, 2012 by clayton29657 (see edit history) Link to comment Share on other sites More sharing options...
saynernz Posted August 23, 2012 Author Share Posted August 23, 2012 Hello clayton29657, I contacted my webhost who just pointed me to the error log. This is the error that is repeated over and over again: -- [23-Aug-2012 16:01:09] PHP Warning: require_once(/home/accent4f/public_html/modules//blockcart/blockcart-ajax.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/accent4f/public_html/controllers/CartController.php on line 81 [23-Aug-2012 16:01:09] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/accent4f/public_html/modules//blockcart/blockcart-ajax.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/accent4f/public_html/controllers/CartController.php on line 81 -- Does that help at all? Link to comment Share on other sites More sharing options...
tdr170 Posted August 23, 2012 Share Posted August 23, 2012 Take a look at your blockcart module and see if there is a blockcart-ajax.php file within. If not look to the theme you downloaded unzip to your computer and upload the file from the blockcart2 folder. This is the line in question: require_once(_PS_MODULE_DIR_.'/blockcart/blockcart-ajax.php'); Link to comment Share on other sites More sharing options...
saynernz Posted August 26, 2012 Author Share Posted August 26, 2012 Thanks for that, tdr170. I've had a look and the blockcart-ajax.php file is present in the folder. I re-uploaded the blockcart2 module to see if that fixes it, and it doesn't. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now