Jump to content

spaceman

Members
  • Posts

    78
  • Joined

  • Last visited

Everything posted by spaceman

  1. Anyone? I am running PHP 5.6 and increased max execution time to 60, and everything else works well, so I'm struggling to see where the error lies?
  2. I cannot access the Customer Service page in back office (either by Customers > Customer Services on the left menu or clicking Show All Messages under the mail icon at the top). When I try, the page hangs for a while and eventually says: I've turned on error reporting but it doesn't return anything at all. Any ideas? Thanks Scott
  3. Sorted as I thought, but with the additon of opening the SQL file of the copied database in Notepad and changing all the old table prefixes to the new one, before importing into new database via phpmyadmin. Job done.
  4. Hello all, I've had problems with high CPU usage and have been going round in circles trying to fix it. I've decided to try a clean install to see if that solves the problem, but if it doesn't then I'll move it to another server. The URL will be the same and it will be the same version of Prestashop (1.6.1.6), so would it be a simple case of doing the following: Backup database by doing a database dump (via Plesk) Backup all .img folders/files (via FTP) Remove everything then reinstall Import database dump into new database Copy across all .img folders/files Or am I being too simplistic in my thought process and missing lots of other things? Thanks Scott
  5. I think think this might have defeated me. I'm using FireSSH and have tried logging in as 'root' and the domain subscriber but when I enter this: find . -type f -exec chmod 0644 () \; I get this: -bash: syntax error near unexpected token `(' And I don't know how to post the /etc/.my.cnf file (I can't access the /etc files via Plesk but assume there's a way using SSH, but I don't know how). Sorry Denver, I appreciate your help but think I've bitten off a little more than I can chew.
  6. Thanks Denver, I need to have a little look into that to work out how to do that via SSH (I have multiple sites on the server and I'm a novice so haven't managed to work it out yet). I need to pop out for a while now but I'll try again later - thanks both of you for your help, much appreciated.
  7. I think I've reverted them all back to the original now, so folder permission for /cache is rwx r-x r-x (I believe I'm right in thinking that's 755?). Quite far along with the catalogue build really, but I'm assuming it should be quite straight forward if I just copy the db and start again? Or am setting myself up for a big fall...?
  8. Haha, I do get a bit lost with it all once I start meddling but I just tried it to briefly give me full access, in case I was missing something. It was pointless anyway because it still didn't work! It's an install via Plesk so everything was pretty standard. I'm getting myself into a mess now, I think it might be best if I copy the db and the images and do a fresh install to start again?
  9. Hmmm, I've tried setting the folders mentioned in the error message to 777 but still not working. When I clear cache in the back office, I get the following error: Fatal error: Uncaught exception 'UnexpectedValueException' with message 'RecursiveDirectoryIterator::__construct(/var/www/vhosts/***.co.uk/httpdocs/cache/smarty/compile/db): failed to open dir: Permission denied' in /var/www/vhosts/***.co.uk/httpdocs/tools/smarty/sysplugins/smarty_internal_utility.php:242 Stack trace: #0 [internal function]: RecursiveDirectoryIterator->__construct('/var/www/vhosts...', 0) #1 /var/www/vhosts/***.co.uk/httpdocs/tools/smarty/sysplugins/smarty_internal_utility.php(242): RecursiveDirectoryIterator->getChildren() #2 /var/www/vhosts/***.co.uk/httpdocs/tools/smarty/Smarty.class.php(1469): Smarty_Internal_Utility::clearCompiledTemplate(NULL, NULL, NULL, Object(SmartyCustom)) #3 /var/www/vhosts/***.co.uk/httpdocs/classes/SmartyCustom.php(99): Smarty->clearCompiledTemplate() #4 /var/www/vhosts/***.co.uk/httpdocs/classes/SmartyCustom.php(109): SmartyCustomCore->check_compile_cache_invalidation() #5 /var/www/vhos in /var/www/vhosts/***.co.uk/httpdocs/tools/smarty/sysplugins/smarty_internal_utility.php on line 242
  10. Thanks for the quick reply, El Patron. I always get a bit worried when it comes to changing server components! I've installed PHP 5.6 but the front end now won't load. I get the following error: Fatal error: Uncaught --> Smarty: unable to write file /var/www/vhosts/***.co.uk/httpdocs/cache/smarty/compile/4e/96/77/wrt57da99f2d77557_09880881 <-- thrown in /var/www/vhosts/***.co.uk/httpdocs/tools/smarty/sysplugins/smarty_internal_write_file.php on line 46 Any idea what's wrong there? Thanks Scott
  11. Hello I'm developing a site on 1.6.1.6 (currently in maintenance mode) and it's using 99-100% of my server CPU all of the time. I've checked via SSH and it simply shows a PHP command coming from /bin/php -d open_basedir= -d error_reporting=E_ERROR -c /var/www/vhosts/system/***.co.uk/etc/ I've tried playing about with CCC settings to no avail, but read on the following thread that installing Xcache worked for somebody: https://www.prestashop.com/forums/topic/490187-1613-high-cpu-load/ Is there something else I should look at first as it's not a problem I've had before with Prestashop? Could it be an error with a script on a permanent loop? Server is CentOS 6.5 wiht PHP 5.3. Thanks Scott
  12. I'm having the same problem with my v1.6.1.3: entering my ip address in Maintenance Mode makes the store accessible to anyone. I tried PauloKruz's solution below: ...but this didn't work for me; after changing the code as described, Prestashop wouldn't allow me to enter my ip address in Maintenance Mode at all. Anybody got any other ideas? Thanks Scott
  13. Hi Matias I don't know how your Prestashop was set up but mine was an app installation in Plesk. When I went back into Plesk i noticed a message saying there was an upgrade available for the Prestashop app, so I clicked to upgrade and everything worked again once that was completed. I hope yours is such an easy fix! Regards Scott
  14. Hello After upgrading my site I can't access any pages and get the following error message: Table 'prestashop_4.prstshp_smarty_last_flush' doesn't exist I've checked my database and it indeed does not exist, but I don't know what to do about it? Would really appreciate any advice. Scott
  15. Solved it. I had my country set up as 'UK' and PaymentSense wasn't recognising it (even though the ISO code GB was correct). All I needed to do was change the name to 'United Kingdom'.
  16. Hello I recently changed shipping options and I messed about with countries/zones etc. Now, whenever I click the PaymentSense payment option at checkout, I keep seeing the following error message (on a PaymentSense gateway page): Passed variable CountryCode [error - cannot find country] is type invalidI can't for the life of me work out why this is happening as I have tried going back to basics and having just one country (UK) with one shipping option for that country. Any ideas? Thanks Scott
  17. I finally realised what was causing the problem: Smart Cache for CSS. I turned it off in ADVANCED PARAMETERS > PERFORMACE and the icons are working again now. Not sure how I can use this feature without it affecting functionality but I'll happily do without it for now.
  18. Just discovered what was causing my issue - Smart Cache for CSS. I turned it off in ADVANCED PARAMETERS > PERFORMACE and the icons are working again now.
  19. jlisman, I'm having the same problem with my site www.cozibag.co.uk, did you find a solution to it?
  20. Hello all, Since changing the URL of my site www.cozibag.co.uk (I just added the 'www' prefix under PREFERENCES > SEO & URLs in the Prestashop back office) I have lost all the small 'Font Awsome' icons/images (e.g. next to the search bar and Cart dropdown box etc). I'm assuming it's to do with the file path change but I can't work out what I'm doing wrong? Thanks Scott
  21. When landing on a product page, visitors to my site can currently see all images for a product, including those for various colour attributes. An example can be found at: http://cozibag.co.uk/canvas/17-slab-lounger.html But I only want them to see the images of the default colour. On the page above, I want them to see just the 3 images for the default colour 'Slate Grey' when they first land on the page. (It works fine once a colour has been selected). Is the current situation standard behaviour of Prestashop or am I missing something? Is there anything I can do to fix it? Thanks Scott
  22. Thanks guys, I think I will just skip the 1.5.6 upgrade and go straight to the 1.6 RC on a test site. Probably save me a lot of trouble.
  23. Sorry, I did mean UPGRADE. I just want to check that the 1-click-upgrade will work form 1.5.6 to 1.6 (with 1.6 being a brand new version)? I'd hate to carry on with my current fiddly upgrade to 1.5.6 only to find that I have to manually change a load of settings etc all over again...
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More