Jump to content

carolinalour

Members
  • Posts

    33
  • Joined

  • Last visited

Profile Information

  • First Name
    Carolina
  • Last Name
    Lour

carolinalour's Achievements

Newbie

Newbie (1/14)

1

Reputation

2

Community Answers

  1. Hi, I have a weird problem, which I'd like your help to solve. Basically, the problem is with page-loading-time and I GUESS javascript: when I click on the "next page" button, If i then immediately move the mouse somewhere else, It'll open that link instead of the one I was trying to load... What can I do to solve this?! Page: www.craftypapersco.com Thank you
  2. Hi, I've recently launched my website but I've come to realise that my server's RAM is exploding ( it never goes bellow 1.6Gb.) and the website is very slow.. I'm not sure why this is happening, it happens even at 2am, when no one is online! What could be the cause of this? Some info: Prestashop 1.6.1.6 Compile files only if they're changed Cache: yes Type of cache: files Clear cache: never CCC -> no Depth of cache: 1 *** Num of products: 6494 Num active products : 4400 Num online ppl last 30 mins : always around 30 thanks in advance for your help! Carolina
  3. I have created a whole python library using prestapyt. I intend to share it soon enough (in the next week or so). I'm not sure if that's helpful, but in case it is, i decided to share. WARNING : It's working but it's not so fast..
  4. I can't see that thread, I think I need to have an account? I tried changing the code to 2 letters only but I get the same error... Any other idea?
  5. Hi, When clients try to pay using paypal, in my Prestashop shop, they get the following error: TIMESTAMP -> 2016-10-05T01:20:42Z L_ERRORCODE0 -> 10725 L_SHORTMESSAGE0 -> Shipping Address Country Error L_LONGMESSAGE0 -> There was an error in the Shipping Address Country field L_SEVERITYCODE0 -> Error I think it has to do with the fact that my countries are "Portugal Continental" and "Portugal (Ilhas Madeira e Açores)" instead of just Portugal (see images). However, I'm not sure this is the case. Could you please help? Thank you, Carolina
  6. Thank you for your reply! I searched the table but couldn't find any entry to change related to the url.. can you tell me the ID of the entry to change?
  7. I'm ripping my hair out: I've changed my store from crafypapersco.wt.pt/prestashop to crafypapersco.wt.pt, by moving the files using the Cpanel->File Manager. I've then changed the DB ps_shop_url (maintained everything, changed "physical_url" to "/" instead of "/prestashop/")... However, now I can't access my website (both frontOffice and backOffice..) I can see the back office login (without css or js after I deleted the cookies!!), but I can't login... Can you please help me? Thank you!!
  8. Also, the page is not configured (no images, everything is on the left of the page... )
  9. HELP! It didn't work for me either! How did you solve this? I can't login into my back office now or the front office.. (but I can see the login page). This is what I did: 1) Disable cache 2) Move files (after that admin panel doesn't work anymore) 3) Use phpMyAdmin to edit table ps_shop_url. Edit the field 'physical_uri' to reflect the changed location of your shop 4) Go to the new URL back office -> UNNABLE TO LOGIN Please help! Thanks
  10. Hi! I've added my prestashop store inside public_html/prestashop and now I want to access it like www.myshop.com but I can't! It has to be www.myshop.com/prestashop . How can I change it to the desired directory without changing anything?? Please help. Thank you!! EDIT: I found these steps to follow: 1) Disable cache 2) Move files (after that admin panel doesn't work anymore) 3) Use phpMyAdmin to edit table ps_shop_url. Edit the field 'physical_uri' to reflect the changed location of your shop 4) Go to the new URL backoffice 5) Regenerate robots.txt 6) Regenerate .htaccess 7) Enable cache But now I can't do step 4!! I see the loginpage but it tells me my account is not valid! I've sent an email to regenerate the password but I can't login! No error, just no login... Please help!!
  11. HI, I've been trying to add images with curl to all my products without success. My images are located in www.myshop.com/prestashop/img/ProductImages (i've uploaded them here). For product each product i (id = ID_i, ref = REF_i) the image is called REF_i.jpg This is what I've been trying to do: <?php function image($id, $ref){ // change the local path where image has been downloaded (I run script at the folder before prestashop) $img_path = '/prestashop/img/ProductImages/{$ref}.jpg'; define('PS_SHOP_PATH', 'http://craftypapersco.wt.pt/prestashop/'); //image will be associated with product id $id $url = PS_SHOP_PATH. '/api/images/products/'.$id; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_USERPWD, PS_WS_AUTH_KEY.'SOMEKEY'); curl_setopt($ch, CURLOPT_POSTFIELDS, array('image'=> new CurlFile($img_path))); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); if(curl_exec($ch) === false) { echo "<br><br>Error : ".curl_error($ch)."<br>"; } else { echo '<br><br> Image added'; } curl_close($ch); } ini_set('display_errors',1); ini_set('display_startup_errors',1); error_reporting(-1); define('PS_SHOP_PATH', 'http://craftypapersco.wt.pt/prestashop/'); define('PS_WS_AUTH_KEY', 'SOMEKEY'); define('DEBUG', 'false'); require_once('PSWebServiceLibrary.php'); $webService = new PrestaShopWebservice(PS_SHOP_PATH, PS_WS_AUTH_KEY, DEBUG); $opt['resource'] = 'products'; $opt['display'] = 'full'; try{ $xml = $webService->get($opt); }catch( PrestaShopWebserviceException $ex ){ $trace = $ex->getTrace(); // Retrieve all information on the error $errorCode = $trace[ 0 ][ 'args' ][ 0 ]; // Retrieve the error code if ( $errorCode == 401 ) echo 'Bad auth key'; else echo 'Other error : } foreach($products as $product) { image($product->id, $product->reference) } ?> Could you help me figure out why it doesn't work? Thanks, Carolina
  12. Olá, Quando acedo à minha página recebo o seguinte erro no topo: Notice: unserialize(): Error at offset 57340 of 57344 bytes in /home/craftypa/public_html/prestashop/classes/cache/CacheFs.php on line 40 O que posso fazer?? A página é esta: http://craftypapersco.wt.pt/prestashop/index.php Obrigada, Carolina
×
×
  • Create New...