Jump to content

user_lambda

Members
  • Content count

    3
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by user_lambda

  1. Great work. And super idea to rely on 2.3.4.1 ! I'll give a try...
  2. Well, just found out how to solve 2 php errors I've got using php7+. Let's share it: If you run 2.3.4.1 (latest official version), it runs fine on php5+ (for exemple with the last release 5.6.40 which is from 2019!). But, when you switch to php7 you get (at least) two errors at admin panels : 1. at "Categories / Products" : Warning: sizeof(): Parameter must be an array or an object that implements Countable in C:\EasyPHP-Devserver-17\eds-www\oscommerce2341\catalog\adminUyhGTfDES458\includes\functions\general.php on line 89 AND categories.php on line 909 SOLUTION: find "application_top.php" under admin/includes somewhere around line 231, find : $current_category_id = $cPath_array[(sizeof($cPath_array)-1)]; } else { just add this line $cPath_array = [ ] ; before $current_category_id = 0; } and you are done. The second error I've got is at tools / "Security Checks" panel (that didn't work at all) : Warning: Creating default object from empty value in C:\EasyPHP-Devserver-17\eds-www\oscommerce2341\catalog\adminUyhGTfDES458\security_checks.php on line 87 Fatal error: Uncaught Error: Call to undefined method stdClass::pass() in C:\EasyPHP-Devserver-17\eds-www\oscommerce2341\catalog\adminUyhGTfDES458\security_checks.php:92 Stack trace: #0 {main} thrown in C:\EasyPHP-Devserver-17\eds-www\oscommerce2341\catalog\adminUyhGTfDES458\security_checks.php on line 92 Look into the file admin / "security_checks.php". Find and replace : $secCheck = $$module['class']; by $secCheck = $GLOBALS[$module['class']]; (somewhere around line 81) and you are done. I found this out (the lucky way) by examining the related code in "osCommerce2-2.4.2 Joli Beta" which works fine on php7 (but unfortunately some of its fonctions were not implemented, and I'm not a pro coder). Hope it can help for someone. (files modified attached if you need it) security_checks.php application_top.php
  3. user_lambda

    osCommerce v4 Beta 1

    Oscommerce was traditionally a "lightweight" solution (thats the reason I personally have choosen it). If I get it right, that will be no more the case, as you are developping to challenge the "top competitors". Will it be a heavy "gaz plant" which will include all possible ecommerce tools available today ? I guess the "lightweight" caracteristic (and surely others) of Oscommerce as we knew it comes to an end, right? (Nothing bad in this, of course, is just about business... ).
×