Jump to content

dustcollector

Members
  • Posts

    55
  • Joined

  • Last visited

Profile Information

  • Activity
    User/Merchant

dustcollector's Achievements

Newbie

Newbie (1/14)

4

Reputation

  1. Hi everyone , I just got my website template changed and it seems that once user click the "Paypal checkout" button and it will have this error: You don't have permission to access /shop/modules/paypal/express_checkout/payment.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Can someone please kindly advise what I can do to resolve this? Have already reset the paypal module, re-entered the API key, but still the same problems. Thank you
  2. Hi, I am currently on 1.6.0.9 and am trying to install a theme. I have tried the default method but after clicking Save, the page will refresh itself and i go back to Preferences > Theme and do not any other themes available to change. Then i tried to use FTP and uploaded the entire folder to "themes" but again, I'm unable to see any options to change to the new theme.. Tried module "Import/Export Theme" and also the same problem.. Could someone please kindly advise what should i do? Thank you!
  3. Hi Need help urgently as i cannot upload artwork to my website via a module - Static Block I have no issues uploading product photos. It states that Unexpected Syntax error "<" and previously i have no problems uploading! Have tried both Safari and Firefox browsers This is my ajax upload file: <?php /** * processing the uploaded files * @author Logan Cai (cailongqun [at] yahoo [dot] com [dot] cn) * @link www.phpletter.com * @since 22/May/2007 * */ if (!defined('_PS_ADMIN_DIR_')) define('_PS_ADMIN_DIR_', getcwd()); require_once('../../config/config.inc.php'); require_once('../init.php'); sleep(3); require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php"); echo "{"; $error = ""; $info = ""; include_once(CLASS_UPLOAD); $upload = new Upload(); $upload->setInvalidFileExt(explode(",", CONFIG_UPLOAD_INVALID_EXTS)); if(CONFIG_SYS_VIEW_ONLY || !CONFIG_OPTIONS_UPLOAD) { $error = SYS_DISABLED; } elseif(empty($_GET['folder']) || !isUnderRoot($_GET['folder'])) { $error = ERR_FOLDER_PATH_NOT_ALLOWED; }else if(!$upload->isFileUploaded('file')) { $error = ERR_FILE_NOT_UPLOADED; }else if(!$upload->moveUploadedFile($_GET['folder'])) { $error = ERR_FILE_MOVE_FAILED; } elseif(!$upload->isPermittedFileExt(explode(",", CONFIG_UPLOAD_VALID_EXTS))) { $error = ERR_FILE_TYPE_NOT_ALLOWED; }elseif(defined('CONFIG_UPLOAD_MAXSIZE') && CONFIG_UPLOAD_MAXSIZE && $upload->isSizeTooBig(CONFIG_UPLOAD_MAXSIZE)) { $error = sprintf(ERROR_FILE_TOO_BID, transformFileSize(CONFIG_UPLOAD_MAXSIZE)); }else { include_once(CLASS_FILE); $path = $upload->getFilePath(); $obj = new file($path); $tem = $obj->getFileInfo(); if(sizeof($tem)) { include_once(CLASS_MANAGER); $manager = new manager($upload->getFilePath(), false); $fileType = $manager->getFileType($upload->getFileName()); foreach($fileType as $k=>$v) { $tem[$k] = $v; } $tem['path'] = backslashToSlash($path); $tem['type'] = "file"; $tem['size'] = transformFileSize($tem['size']); $tem['ctime'] = date(DATE_TIME_FORMAT, $tem['ctime']); $tem['mtime'] = date(DATE_TIME_FORMAT, $tem['mtime']); $tem['short_name'] = shortenFileName($tem['name']); $tem['flag'] = 'noFlag'; $obj->close(); foreach($tem as $k=>$v) { $info .= sprintf(", %s:'%s'", $k, $v); } $info .= sprintf(", url:'%s'", getFileUrl($path)); $info .= sprintf(", tipedit:'%s'", TIP_DOC_RENAME); }else { $error = ERR_FILE_NOT_AVAILABLE; } } echo "error:'" . $error . "'"; echo $info; echo "}"; ?>
  4. Hi guys, need help urgently as i cannot upload artwork to my website via a module. It states that Syntax error < and previously i have no problems uploading! Have tried both Safari and Firefox browsers This is my ajax upload file: <?php /** * processing the uploaded files * @author Logan Cai (cailongqun [at] yahoo [dot] com [dot] cn) * @link www.phpletter.com * @since 22/May/2007 * */ if (!defined('_PS_ADMIN_DIR_')) define('_PS_ADMIN_DIR_', getcwd()); require_once('../../config/config.inc.php'); require_once('../init.php'); sleep(3); require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php"); echo "{"; $error = ""; $info = ""; include_once(CLASS_UPLOAD); $upload = new Upload(); $upload->setInvalidFileExt(explode(",", CONFIG_UPLOAD_INVALID_EXTS)); if(CONFIG_SYS_VIEW_ONLY || !CONFIG_OPTIONS_UPLOAD) { $error = SYS_DISABLED; } elseif(empty($_GET['folder']) || !isUnderRoot($_GET['folder'])) { $error = ERR_FOLDER_PATH_NOT_ALLOWED; }else if(!$upload->isFileUploaded('file')) { $error = ERR_FILE_NOT_UPLOADED; }else if(!$upload->moveUploadedFile($_GET['folder'])) { $error = ERR_FILE_MOVE_FAILED; } elseif(!$upload->isPermittedFileExt(explode(",", CONFIG_UPLOAD_VALID_EXTS))) { $error = ERR_FILE_TYPE_NOT_ALLOWED; }elseif(defined('CONFIG_UPLOAD_MAXSIZE') && CONFIG_UPLOAD_MAXSIZE && $upload->isSizeTooBig(CONFIG_UPLOAD_MAXSIZE)) { $error = sprintf(ERROR_FILE_TOO_BID, transformFileSize(CONFIG_UPLOAD_MAXSIZE)); }else { include_once(CLASS_FILE); $path = $upload->getFilePath(); $obj = new file($path); $tem = $obj->getFileInfo(); if(sizeof($tem)) { include_once(CLASS_MANAGER); $manager = new manager($upload->getFilePath(), false); $fileType = $manager->getFileType($upload->getFileName()); foreach($fileType as $k=>$v) { $tem[$k] = $v; } $tem['path'] = backslashToSlash($path); $tem['type'] = "file"; $tem['size'] = transformFileSize($tem['size']); $tem['ctime'] = date(DATE_TIME_FORMAT, $tem['ctime']); $tem['mtime'] = date(DATE_TIME_FORMAT, $tem['mtime']); $tem['short_name'] = shortenFileName($tem['name']); $tem['flag'] = 'noFlag'; $obj->close(); foreach($tem as $k=>$v) { $info .= sprintf(", %s:'%s'", $k, $v); } $info .= sprintf(", url:'%s'", getFileUrl($path)); $info .= sprintf(", tipedit:'%s'", TIP_DOC_RENAME); }else { $error = ERR_FILE_NOT_AVAILABLE; } } echo "error:'" . $error . "'"; echo $info; echo "}"; ?>
  5. Hi Vekia, I think my webhosting should have the ability to use PHP () as I have been using this for the past 1 year. Only when i upgraded to 1.5.3.1 and this problem surfaced. I have also tried to use STMP mail and it does not work. SPAM folder do not have any mails.
  6. Hi, I have uninstalled and installed the mail alert module. And still i am unable to receive any emails when new orders are being placed. My email is working properly. And Under BO> Advanced Parameters> Email is set to PHP mail () function. Please kindly advise! Thank you!!
  7. Hi, I'm currently on Prestashop 1.5.3.1 and in the previous versions, when we click the Messages tab, all the latest/unread messages will be automatically shown at the top. However, for this version, only the oldest messages are shown at the top. And its quite troublesome for us to click > DIsplay 300 messages, > followed by "Last Message" Is there any ways to set it to default by showing the New/Unread messages at the top of the line? Thank you!
  8. Hi, Does anyone knows why the link for "Paying via credit card without creating PayPal account" is missing? It seems like PayPal is forcing my customers to create a PayPal account and none of them likes the idea and i'm losing all the sales due to this issue! Hope someone can advise! Thank you!
  9. Hi, Does anyone knows why the link for "Paying via credit card without creating PayPal account" is missing? It seems like PayPal is forcing my customers to create a PayPal account and none of them likes the idea! Please advise! thank you!
  10. Hi Benjamin! Thank you. I managed to get it working now. Not sure, if this is the right way as I have no background in programming, but I placed the --> right before the start of the next paragraph <tr> And managed to get it working! Thank you to both of you and of course, tdr170!
  11. Hi tdr170, I tried the codes but right now my web page "order" is blank after i click check out my cart Cou you please kindly advise? thank you!
×
×
  • Create New...

Important Information

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