Jump to content

spaceman

Members
  • Posts

    78
  • Joined

  • Last visited

spaceman's Achievements

Newbie

Newbie (1/14)

4

Reputation

3

Community Answers

  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
×
×
  • Create New...

Important Information

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