MeenaInc Posted June 1, 2009 Share Posted June 1, 2009 Guys,Not sure of the issue but my product pages simply stopped showing up?! ACTIONS TO SOLVE PROBLEM: NOT YET SOLVED> I removed all the products, then recreated a new one - still broken> uploaded the original product.tpl file on the main directory - still broken> uploaded the original product.tpl file in my custom theme - still broken> tried setting the theme back to original prestashop theme - still brokenyou can visit www.brawlnutrition.com/betashop to see. All other pages continue to show the right column and footers but for some reason, the product pages stop after the center column....Thanks,Meena, Inc. Link to comment Share on other sites More sharing options...
San Diego Posted June 1, 2009 Share Posted June 1, 2009 you have in your global cssbackground img......... ---- center ---- toptake the center out and try thisfor some reason allways when i put center in the global css the whole shop is massed uphope it helpessd Link to comment Share on other sites More sharing options...
MeenaInc Posted June 2, 2009 Author Share Posted June 2, 2009 I am not sure how this would affect ONLY the product page when the php is calling the same tpl header file and css from page to page....and as suspected, it did not work.Software seems to be too buggy to trust to use as a real, online store....anyone else had success using online for a HEAVILY visited store?Thanks Link to comment Share on other sites More sharing options...
San Diego Posted June 2, 2009 Share Posted June 2, 2009 hitoo bad that it did not work, but yes you are right, i try to find out since 4 weeks why my shop does not show a fewthings as soon i put this center in the global cssbut maybe there is an other conflict in my case happen than.the shop software is great and many in the forum are happy with it.did you upload via ftp a new theme, or overwrote the old theme,and any changes of the shop should be done in the theme filesnot in the shop files it self, this allways causes unexspected trouble, just for info.sd Link to comment Share on other sites More sharing options...
Patric Posted June 2, 2009 Share Posted June 2, 2009 No error message displays... To make it appear, please try the following :(if you don't understand French, please try an online translator and if really you can't understand, tell me)Page blanche ou incomplète : afficher les erreurs PHPLorsque le FO et/ou le BO affichent une page blanche, ou incomplète sans qu'aucun message d'erreur n'apparaisse, il est nécessaire d'activer l'affichage des erreurs PHP pour en connaître la cause.Dans le fichier config/config.inc.php mettre@ini_set(‘display_errors’, ‘off’);à 'on'.Réactualiser la page concernée et si ça affiche une erreur, copier/coller une partie de l'erreur dans l'outil de recherche du forum.Si aucun topic utile n’est trouvé, poster le message d’erreur en question dans un topic en cours en rapport avec le problème ou créer un topic. Link to comment Share on other sites More sharing options...
MeenaInc Posted June 2, 2009 Author Share Posted June 2, 2009 Zendik,Thank you for the suggestion to turn on errors, as I was able to fix the page by reloading the LOYALTY module...now I just have to ensure that when I change it I am more careful...THANK YOU!But now that errors are on, I was able to see that on the PRODUCT page and HOME page, I get the following error:Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/16/d281076889/htdocs/brawlnutrition.com/betashop/classes/Cart.php on line 779Any advice on correcting this?Thanks,Meena, Inc.PS-I know VERY LITTLE french..... Link to comment Share on other sites More sharing options...
Patric Posted June 2, 2009 Share Posted June 2, 2009 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/16/d281076889/htdocs/brawlnutrition.com/betashop/classes/Cart.php on line 779 What is your version of PS ?Have you made any modification into the original source code, especially in this file (Cart.php) ? Link to comment Share on other sites More sharing options...
MeenaInc Posted June 2, 2009 Author Share Posted June 2, 2009 Zendik,Thank you for bringing up the cart.php, I reloaded the original (I am using 1.1 by the way) cart.php file in the classes folder and the problems have disappeared.I believe it has something to do with trying to run the UPS module AND the USPS modules together, as both of these alter the cart.php file.Thanks again for the help,Meena, Inc. Link to comment Share on other sites More sharing options...
Patric Posted June 2, 2009 Share Posted June 2, 2009 You're welcome.I add [solved] to the title. Link to comment Share on other sites More sharing options...
Recommended Posts