Jump to content

dennis1981

Members
  • Posts

    52
  • Joined

  • Last visited

Everything posted by dennis1981

  1. There is a bug with this module i think, if you try with Cash On Delivery module , it will work for you.
  2. Guys dont hit Prestashop, it is an open source framework, i'm sure when someone is able to help, he will! Check my threads where nobody replies and i still have the same issues..well what can you do... In regards to the issue '2 errors There was an error while extracting the module (file may be corrupted). Module themeconfigurator can't be upgraded: ' I had the same problem. I reset module. Then update again, even though im receiving same error, the module is upgraded indeed! Hope this helps!
  3. Now i have just , set error reporting back on again , and it works.. this is really weird guys.. i keep this thread open, i was about to close it two times, but as i see i need to be cautious , haven't manage to update the shop to 1.6.0.9 from 0.5 yet ! UPDATE Nah this thing goes on and off...if anybody could give me his point of view guys this would be awesome ! Cheers!
  4. No i have spoken too soon, the shop is down again with 500 Internal sever error. This time i can see the message right in the screen , no more blank screens, the crazy thing is that now i have also turned error reporting off, as it used to work a few hours ago.. Please guys some help would be really appreciated here! Thank you!
  5. As things could not get worst, i have been locked out of the BO... tried to login.. the usual "employee does not exist.." message. I followed the database method, where i copied the _COOKIE_KEY_ from settings.inc.php , and at the very end of this i added my new password so it was like : fw8lq9u0avnde39nay8n3ptg4usjl6drumw5boxbfnrkezdwhs0axxocmynewpassword Then in phpmyadmin, i found table employee , i found the record of my admin account and then i edited this record. In passwd column i set MD5 for Function, and replaced the value with my new one. Return to backoffice and login normally. As i could not find any way to correct the errors in the front office i thought to re-update again using 1-click installer. This time i had memory_limit problem. I used these, in my php.ini file, which i uploaded in the root / public_html folder memory_limit = 128M max_execution_time=300; max_input_time=-1 upload_max_filesize=25M; post_max_size=20M; max_input_vars=10000 suhosin.get.max_vars = 10000; suhosin.post.max_vars = 10000; Upgrade did not complete even this time , i was receiving same memory errors , tried to manually upload the new presta zip using ftp and then import it from BO .. nothing again the same.. I was fed up, went back to the Modules (i was lucky i could still use the back office) realized i have a cache plugin disabled, but not uninstalled. I did uninstall it, cleared cached, also clear browser's cache, refreshed front office and everything was back. I wonder why an upgrade from 1.6.0.5 to 1.6.0.9, by using 1-click module fails ? is theres something i miss? anyway that was my story, i present it here, maybe can be of help to someone. Best Regards to all!
  6. Hi guys, tried to upgrade from 1.6.0.5 to 1.6.0.9 Receiving 500 internal server error in the front office after this.. so we rolled back.. The site is http://www.smithersofstamford.com/ can anyone tell me please if you understand any of the errors and what should i do ? Many thanks in advance Regards, Dio Notice: Trying to get property of non-object in /home/f11smith/public_html/override/classes/controller/FrontController.php on line 68 [PrestaShopDatabaseException] Duplicate entry 'd2cd9fa30e1a25b26b4455485c68ceec-0-1-17-1' for key 'page_id_cache' INSERT INTO dv1_express_cache VALUES ('d2cd9fa30e1a25b26b4455485c68ceec',0,1,17,1,' \"logo\" Maintenance mode In order to perform website maintenance, our online store will be temporarily offline. We apologize for the inconvenience and ask that you please try again later. ','2014-10-23 00:12:35')
  7. "06 Oct 2014 00:55:59","/home/aqua/domains/aqua-maniac.com/public_html/config/smarty.config.inc.php: 33","(Warning) require_once(/home/aqua/domains/aqua-maniac.com/public_html/tools/smarty/Smarty.class.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory" "06 Oct 2014 00:56:01","/home/aqua/domains/aqua-maniac.com/public_html/config/smarty.config.inc.php: 33","(Warning) require_once(/home/aqua/domains/aqua-maniac.com/public_html/tools/smarty/Smarty.class.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory" "06 Oct 2014 00:56:02","/home/aqua/domains/aqua-maniac.com/public_html/config/smarty.config.inc.php: 33","(Warning) require_once(/home/aqua/domains/aqua-maniac.com/public_html/tools/smarty/Smarty.class.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory" "06 Oct 2014 00:56:22","/home/aqua/domains/aqua-maniac.com/public_html/config/smarty.config.inc.php: 33","(Warning) require_once(/home/aqua/domains/aqua-maniac.com/public_html/tools/smarty/Smarty.class.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory" As error reporting is not working for me for some reason, during my research i found the following php code which i included at the top of the index.php files both in root and /admin folder <?php error_reporting(0); $old_error_handler = set_error_handler("userErrorHandler"); function userErrorHandler ($errno, $errmsg, $filename, $linenum, $vars) { $time=date("d M Y H:i:s"); // Get the error type from the error number $errortype = array (1 => "Error", 2 => "Warning", 4 => "Parsing Error", 8 => "Notice", 16 => "Core Error", 32 => "Core Warning", 64 => "Compile Error", 128 => "Compile Warning", 256 => "User Error", 512 => "User Warning", 1024 => "User Notice"); $errlevel=$errortype[$errno]; //Write error to log file (CSV format) $errfile=fopen("errors.csv","a"); fputs($errfile,"\"$time\",\"$filename: $linenum\",\"($errlevel) $errmsg\"\r\n"); fclose($errfile); if($errno!=2 && $errno!=8) { //Terminate script if fatal error die("A fatal error has occurred. Script execution has been aborted"); } } ?> This generates an errors.csv file in the root , where we can see the type of error we are having. Can anyone please with my errors above ? Many thanks in advance!
  8. My apologies the page is aqua-maniac.com can you see any errors please guys?
  9. One of the most weird things here is that i cannot see any errors to realize what is going on.. Just rolling back and then 403 Forbidden , blank pages, even at Firebug does not show any errors, how could i track this please ?
  10. Hello guys, I have a problem with a store at 1.4, i tried to upgrade to 1.6 using the one-click module. Things were looking ok but in the end the process stopped, it was an error with the database, fooliness of me i didnt copy the error.. The upgrade did happen but the site was not functioning properly, probably due to the modules and old customization of old theme to work ok with new prestashop 1.6 I did have the option to rollback, as all data was fully backed up. Well, i did rollback, and now i have 403 blank pages both in back and front office. I set error reporting on, but still cannot see errors, just blank pages. i edited both defines.inc.php , config.inc.php , set error report on but still same blank pages. Have you guys seen this in the past? If yes could you please let me know, id be really grateful, i have tried almost everything Regards
  11. Thanks for your input guys, this has saved me from a lot of trouble with a 1.4.4.1 store!!!
  12. Hi, where exactly is this field (PayPal Business Account) placed please? I have the same problem, i would appreciate if you could let me know thanks!
  13. Αθήνα παιδιά! Θα γίνει ποτέ καμια συνάντηση?
  14. Hi movilexpress, The file global.css is quite big and therefore many times you will struggle finding the correct tags to style. For this reason - if you use Firefox - install Firebug at http://getfirebug.com/downloads There is a feature which lets you point anywhere on the page and defines where the particular element is placed inside the HTML document and also where its respective styling declaration exists in the global.css file. This will save you lots of time and you can precisely style the elements you wish.
  15. Thanks very much Patric for the Greek Forum !!!!! Kalispera apo Hull, UK. Ellhnas web designer/developer sth kseniteia! Oti gnwrizw gia to prestashop tha to moirastw mazi sas! Xairetismous se olh th koinothta! Happy Coding!
  16. Firebug error log - with picture attached : 500 - Internal Server Error http://MYDOMAIN/MY_ADMIN_FOLDER/index.php?tab=AdminCatalog&id_category=5&viewcategory&token;=f338d1a6488526ce09ac52cf9b726370 Does anyone know how to deal with Tokens in Prestashop? Thanks!
  17. Hello to all !!! This is something i have to deal with for the first, and i hope the last time in the framework. I was editing some particular products through the Back Office. After saving the settings, i was using the 'go back' button of the browser. After doing that a few times, i noticed something really weird. Something that i do not believe many people have ever seen!!!!! All of the products from a particular sub-category are missing!!! They simply do not display in the 'Catalogue' in the BO. As far as i know, products are using records from the same table, in order to display both in the website and the BO. These records DO exist in my database and no changes have occurred whatsoever...... They are displayed fine in the website but i can not access (see) them in the BO. I'm sure this is extremely peculiar situation and not many people would know about this. I just thought to post this issue for the shake of information and maybe someone knows a bit more about it. I'm sure this is a Prestashop bug and has to do with the way it deals with cookies, but i really cant get my head around it !!! Best Regards to all!
  18. Following the warning generated for Smarty_Compiler.class.php on line 1162, i commented the following line: line 1162... $this->_syntax_error("missing section name", E_USER_ERROR, __FILE__, __LINE__); The front office of the shop is now loading fine!
  19. After having the pleasure to get rid of our Windows box and IIS...ive know setup up an Ubuntu Linux box with Apache. The migration from Win to Linux went fine! I can login into my BO, no problems whatsoever!! But when i try to load the front office i get a blank page!!! With PHP errors turned on i receive the following errors : Warning: preg_match_all() [function.preg-match-all]: Compilation failed: missing ) at offset 14995 in /home/s/a/sac/web/public_html/tools/smarty/Smarty_Compiler.class.php on line 1162 Fatal error: Smarty error: [in /home/s/a/sac/web/public_html/modules/canonicalurl/canonicalurl.tpl line 1]: syntax error: 'if' statement requires arguments (Smarty_Compiler.class.php, line 1169) in /home/s/a/sac/web/public_html/tools/smarty/Smarty.class.php on line 1091 Does anyone has seen these errors before? Thanks a lot!!! Dennis
  20. Thanks for your reply mr. c !! I made it work finally last night Specifications : O/S: Windows Server 2003 Web Server: IIS 5.0 I know its the worst setup you could find..and i wouldnt recommend it to anyone...but this is what i was given at my job..and i dont have the rights to change it..hopefully when the current contract ends..fingers crossed we will integrate to Ubuntu wth Apache and make our lives happier!!! I used the Ionic Rewrite module..but with not much success. Then i purchased the IIS-Mod rewrite module from http://www.micronovae.com/ModRewrite/ModRewrite.html ..and here is my Rewrite rules: RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2$3.jpg[L] RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.jpg$ /img/c/$1$2.jpg [L] RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$2$4 [L] RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$1$3 [L] RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ category.php?id_category=$1 [QSA,L] RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ cms.php?id_cms=$1 [QSA,L] RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ supplier.php?id_supplier=$1$3 [QSA,L] RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ manufacturer.php?id_manufacturer=$1$3 [QSA,L] Best Regards to all dennis
  21. All URLs are correctly parsed only the images dont load... i notice in your rewrite rules you dont include anything about images...could you please tell me how do you handle that ? this is my rule for .img RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2$3.jpg[QSA,L] RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.jpg$ /img/c/$1$2.jpg [QSA,L] but cant make it work! anybody has any ideas?
  22. I have the same problem... IIS needs an ISAPI Rewrite Filter in order to support smart urls! 1st option => upgrade to IIS 7, which has the rewrite module as default with the installation. 2nd option => install Ionics Isapi Rewrite Filter from http://www.codeplex.com/IIRF - its free Good luck! Regards Dennis
  23. What web server and O/S are you using? can you give some more details about your problem? Prestashop is the best open source e-commerce framework!!! Try to understand the way it functions instead of just trying other frameworks; its fully modularised plus its web standards compliant which is really crucial for web development. What type of file are you trying to upload? *.png , *.jpg ?? Also you need to change the permissions recursively to the /img/ folder so it applies to all the folders in it.... But as ive said...try to set /img/tmp to 777 as well! It does work. P.S. Try to see the logfiles of your web server if you can..and see when you try to upload the image, what is the error message in Firebug's "NET" tab, if you have.
×
×
  • Create New...

Important Information

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