Jump to content


  • Posts

  • Joined

  • Last visited

grafis's Achievements


Newbie (1/14)



  1. Thanks! I was hoping to stop whatever is generating the logs but stopping the logging helps a bit. Wholesale only
  2. Thanks I was suspecting the Plugin and wow, that's an interesting way to hide prices. Where do I hide the 'trigger_error'? Cache->tidy only exists in the log file. Is it line 133 in cach.class.php > public function tidy() { Mod wise - what we really want is this Approve customers before they can use the site (Wholesale only) http://cc3.biz/cubecart-mods/cubecart-4-mods/customer-approval-cc4/prod_247.html
  3. That worked! Here's the log: 21:38:32UTC - 06/16/13 0 => / 1 => 2 => ------------- Cache_Controler::tidy at 0 index.php (line 13) Index_php5.3_enc_zend.php->require_once('/home/mysite/public_html/index_php5.3_enc_zend.php') at 1 index_php5.3_enc_zend.php (line 4) Controller.index.inc.php->include('/home/mysite/public_html/controllers/controller.index.inc.php') at 2 controller.index.inc.php (line 88) Gui->displayCommon() at 3 gui.class.php (line 284) Gui->_displaySessionBox() at 4 gui.class.php (line 1136) Class.gui.display_session_box.php->include('/home/mysite/public_html/modules/plugins/GWorks_Privacy_Manager/hooks/class.gui.display_session_box.php') at 5 class.gui.display_session_box.php (line 1) Class.gui.display_session_box.php(1) : eval()'d code->eval() at 6 class.gui.display_session_box.php(1) : eval()'d code (line 1) Class.gui.display_session_box.php(1) : eval()'d code(1) : eval()'d code->eval() at 7 class.gui.display_session_box.php(1) : eval()'d code(1) : eval()'d code (line 1) Class.gui.display_session_box.php(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code->eval() at 8 class.gui.display_session_box.php(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code (line 24) Cache->tidy() at 9 cache.class.php (line 134) ->dbg('Cache_Controler::tidy') -------------
  4. Wow - thanks! I've worked through all of your changes above. #1 - Cache. My only edits to CC code are a custom skin and adding some links to the Admin Navigation and that's about it. I'm also using the Privacy Manager plugin by GWorks (hides prices until you login) So far no dbg log file created after 5 cache refreshes of the /cache/skins folder. I place the function call like this: public function tidy() { if( function_exists('dbg') ) dbg(__METHOD__); trigger_error('Cleaning cached files...', E_USER_NOTICE); For #3 I had this URL which when tested redirects to the one you posted: http://www.cubecart.com/site/forums/index.php?act=rssout&id=1
  5. Whenever I FTP to my site I notice the Apache Error_Log file is huge (2,5,10,20,60.... megs). Currently the file is two days old and I already have 7,922 entries. It appears CubeCart is telling the system to log any action? This does not happen on the same host (Site5) with Wordpress, Drupal or CS Cart. Does anyone else see this issue? These are "errors" that have occurred over the last 36 hrs - an entry ever 15 seconds or so 24x7x365. 5,958 entries: PHP Notice: Cleaning cached files... in /home/mysite/public_html/classes/cache/cache.class.php on line 134 Looked at the code and poked around - the issue appears to be all files in /Cache/Skin are being deleted every 2-3 minutes. That can't be good! 774 entries: PHP Warning: Invalid argument supplied for foreach() in /home/luciasim/public_html/admin/sources/products.index.inc.php on line 348 351 entries: PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.--construct.php'>simplexmlelement.--construct.php</a>]: Entity: line 1: parser error : Space required after the Public Identifier in /home/mysite/public_html/admin/sources/dashboard.index.inc.php on line 269 273 entries: PHP Notice: GD::gdLoadFile - Unknown file type in /home/luciasim/public_html/classes/gd.class.php on line 75 232 errors: PHP Notice: UPS Error for Canada Standard: The requested service is invalid from the selected origin. in /home/mysite/public_html/modules/shipping/UPS/shipping.class.php on line 210 147 entries: PHP Warning: implode() [<a href='http://docs.php.net/manual/en/function.implode.php'>function.implode.php</a>]: Invalid arguments passed in /home/luciasim/public_html/admin/sources/products.index.inc.php on line 1090 13 entries: PHP Warning: String could not be parsed as XML in /home/mysite/public_html/admin/sources/dashboard.index.inc.php on line 28
  6. I contacted CC support and they were able to resolve by modifying this file: /classes/ssl.class.php Not sure if it's okay to post that change here or not, PM me if anyone needs it. Support confirmed the change will be in the 5.2.3 release.
  7. The diff I believe is the CubeCart 5's new address book system - you can register but no address is required. The owners for this site want to send out print catalogs so addy's are very important to them. Customer doesn't have to put in an address when they register, there's no email notice when the customer registers, and you can't export Customer information or addresses... Thanks big time for the query, it's helped on a major issue for this little shop.
  8. State it was! We have 846 customers, 806 address book entries. The second query posted above pulls 806, looks very good!!
  9. Thanks that query returns exactly what we want! But only returns 71 of our 847 customers. I checked and at least 790 of the Customer ID's are in the Address book. Looking for why so few are returned.
  10. How can I export users with name, address and state information?
  11. Any help appreciated as Google is indexing items like so: /index.php?seo_path=xxxxxxxxxxxx I can't see anything with my setup or server that would be causing this
  12. Store is set to always use the same domain as is .htaccess, also set to always use WWW. SSL invokes for Login/Registration/Basket pages Store settings: Enable SSL: YES Force SSL mode on all pages: NO SSL root path: / SSL Store URL: https://www.domain.com Standard Store URL: http://www.domain.com Relevant .htaccess #Force WWW and account for https RewriteCond %{HTTP_HOST} !^$ RewriteCond %{HTTP_HOST} !^www. [NC] RewriteCond %{HTTPS}s ^on(s)| RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] Edit - removed full .htaccess code as it wasn't the issue.
  13. Why would a visitor see this URL ? domain.com/index.php?seo_path=accessories/barrettes&PHPSESSID=1546683043a50ab14e8d7eedded7a668
  14. Issue: Customer spends time making a Basket which they can see but when they click "View Basket" to checkout they're presented with an empty Basket and all their work is gone. Two customers reported the issue this week - one had 48 products & 248 items total in their Basket which she was able to view using the back button and then copy paste to send in as an (angry) order. Is this something I've screwed up, an issue with 5.2.1 ? How it happens: appears there is a cookie set to last 1hr that I have no control over and the visitor has no knowledge of? Odd as in the past we've had this issue (with CC5, never CC4) and items would stay in the Basket for days and I swear i could log into another browser and see my Basket - currently I loose the basket immediately at logout, loose it between browsers and ultimately as I believe is happening to users when their session cookie expires. Admin > Settings > features > "Time before expiring pending orders" set to 1209600 seconds (two weeks - set that high after the last rash of Empty Basket) Visit Website - all visitors go to: http://www.domain.com (always HTTP except for login and basket/checkout (https), always WWW) Cubecart sets 5 cookies: PHPSESSID for www.domain.com set to expire in 1hr __atuvc for .domain.com set to expire in 2 days __utma for .domain.com set to expire in 2 days __utmb for .domain.com set to expire in 30 minutes __utmc for .domain.com set to expire "session" (when browser closes) __utmz for .domain.com set to expire in 23hrs ​Customer Logs in PHPSESSID cookie is updated to expire one hour from their login time Customers shops, adds items to their Basket Customer clicks "View Basket" and... punches screen. Notes: Custom Skin Mod - Privacy Manager by GWorks mod
  15. You sir are a rock star. As for the Housekeeping of images with the CubeCart DB.... wow. So databases never ever clean up what you want but if someone accidentally drags a folder within another folder, deletes a folder, renames a folder.... restores be damned you have no product images? Wow! This admin lost 841 images (according to phpMyAdmin) and thus had 841 products with no image, She was going to manually update them one at a time or just have me revert the entire site back 3 days and work from screenshots of new customers and purchases. You've got my vote to remove that housekeeping task! I was able to fix this in less than 10 minutes thanks to your post and a post I'd written after my last major CubeCart issue a few years back (webhost issue). http://www.gfisk.com/merge-data-from-two-databases/ 1. requested backup of /images/source folder & Database from webhost 2. restore images 3. review databases 4. run this code once for the filemanager table and once for image index table. Sucks any differences from the good database base and inserts them into the current database. INSERT IGNORE INTO `ccrt1`.`CubeCart_image_index` SELECT * FROM `ccrt1bak`.`CubeCart_image_index`
  • Create New...