osCommerce-Official 281 Posted October 13, 2022 5 hours ago, jimdanforth said: Good thing replies are prompt from the support team. You know, most of our colleagues didn't have electricity the last few days, since you posted your issue. Once their access to the Internet is restored someone will surely comment on it. Share this post Link to post Share on other sites
Ivan Holbi 17 Posted October 13, 2022 3 hours ago, osCommerce-Official said: Having very consistent error in category creation and use. if I create the following: top category -category 1 --sub cat a --Sub Cat b --sub Cat C -category 2 -sub cat a --sub cat b --sub cat c and then from front end select say category 1, then sub a..... it will switch to category 2 sub a if the names are the same. Hi, As far as we can see the thing that causes this issue is that "the names are the same". It looks like you set up the same SEO names for your categories, that is why they are randomly opened per their IDs. In order to resolve it please set up the different names in the fields Category SEO Page Name (URL) under SEO tabs in your categories. For example: category1-subcat-a category2-subcat-a category1-subcat-b category2-subcat-b Thus all the SEO names should be different even though the category names are the same. Best regards, Ivan 1 osCommerce-Official reacted to this Share this post Link to post Share on other sites
jimdanforth 10 Posted October 14, 2022 That did fix it. Since the seo defaulted to the category name, and the names were the same it caused the problems. Manually forcing the SEO to a unique value corrected it. 1 osCommerce-Official reacted to this Share this post Link to post Share on other sites
webwork 1 Posted November 5, 2022 try to install V4 on my synology NAS. MariaDB 10 is installed in the NAS. In the oscommence v4 installation page, it shows mysql is not available. How can I point to MariaDB 10? Another question about setting owner “www-data” recursively. Where does "www-data" come from? Thank you in advance for your help! Share this post Link to post Share on other sites
osCommerce-Official 281 Posted November 5, 2022 @Ivan Holbi could you please comment here? Share this post Link to post Share on other sites
webwork 1 Posted November 6, 2022 On 11/4/2022 at 8:32 PM, webwork said: try to install V4 on my synology NAS. MariaDB 10 is installed in the NAS. In the oscommence v4 installation page, it shows mysql is not available. How can I point to MariaDB 10? Another question about setting owner “www-data” recursively. Where does "www-data" come from? Thank you in advance for your help! Share this post Link to post Share on other sites
osCommerce-Official 281 Posted November 7, 2022 On 11/6/2022 at 3:16 AM, webwork said: Please check that you have the following modules installed: mysqli pdo_mysql Let us know if this helps. Thanks! Share this post Link to post Share on other sites
Ivan Holbi 17 Posted November 7, 2022 4 hours ago, osCommerce-Official said: Please check that you have the following modules installed: mysqli pdo_mysql Let us know if this helps. Thanks! Hi, Further to the comments above the extension module mysqli for PHP is required. Please see the link below. https://www.php.net/manual/en/mysqli.installation.php Best regards, Ivan Share this post Link to post Share on other sites
webwork 1 Posted November 7, 2022 It works! I enabled these two modules manually in the configuration. Thank a lot! Share this post Link to post Share on other sites
joe122joe 2 Posted November 13, 2022 Hej, can I install it on localhost (windows )? thanks Joe Share this post Link to post Share on other sites
osCommerce-Official 281 Posted November 13, 2022 2 hours ago, joe122joe said: Hej, can I install it on localhost (windows )? thanks Joe Hi Joe, It will likely require a Linux hosting account. Local host is OK. Share this post Link to post Share on other sites
spidometrs 10 Posted November 15, 2022 Greetings! I have a server with: Apache http server v2.4 PHP v7.4 MySQL 10.7.3-MARIADB After installing OSC_4_07_53163, I get the main page with chambers and links, this page is in order. Next, I go to the administrative part https://demo-v4.mysite.com/admin/ and everything is in order there, the page opens. Next, I go to the frontend and open any link likehttps://demo-v4.mysite.com/watch/ and I get a mistake: Quote Oops! We canon seem to find the page you're looking for Why does this error arise? How to fix it? No outside url's in signatures allowed - thanks Share this post Link to post Share on other sites
spidometrs 10 Posted November 15, 2022 (edited) When I do Cache Control Flush (Smarty, Themes), I get a mistake: Quote Error (#2): An internal server error occurred. yii\base\ErrorException: file_exists(): open_basedir restriction in effect. File(/www/wwwroot/demo-v4.mysite.com/themes/.htaccess/cache/) is not within the allowed path(s): (/www/wwwroot/demo-v4.mysite.com/:/tmp/) in /www/wwwroot/demo-v4.mysite.com/lib/backend/controllers/Cache_controlController.php:107 Stack trace: #0 /www/wwwroot/demo-v4.mysite.com/lib/common/classes/TlErrorHandler.php(51): yii\base\ErrorHandler->handleError() #1 [internal function]: common\classes\TlErrorHandler->handleError() #2 /www/wwwroot/demo-v4.mysite.com/lib/backend/controllers/Cache_controlController.php(107): file_exists() #3 [internal function]: backend\controllers\Cache_controlController->actionFlush() #4 /www/wwwroot/demo-v4.mysite.com/lib/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array() #5 /www/wwwroot/demo-v4.mysite.com/lib/vendor/yiisoft/yii2/base/Controller.php(178): yii\base\InlineAction->runWithParams() #6 /www/wwwroot/demo-v4.mysite.com/lib/vendor/yiisoft/yii2/base/Module.php(552): yii\base\Controller->runAction() #7 /www/wwwroot/demo-v4.mysite.com/lib/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction() #8 /www/wwwroot/demo-v4.mysite.com/lib/vendor/yiisoft/yii2/base/Application.php(384): yii\web\Application->handleRequest() #9 /www/wwwroot/demo-v4.mysite.com/lib/backend/web/index.php(29): yii\base\Application->run() #10 /www/wwwroot/demo-v4.mysite.com/admin/index.php(15): require('/www/wwwroot/de...') #11 {main} Edited November 15, 2022 by spidometrs No outside url's in signatures allowed - thanks Share this post Link to post Share on other sites
spidometrs 10 Posted November 17, 2022 Here, the user also reports a similar mistake, but no one answered him https://github.com/osCommerce/osCommerce-V4/issues/15 Does support work or not? No outside url's in signatures allowed - thanks Share this post Link to post Share on other sites
osCommerce-Official 281 Posted November 17, 2022 @Ivan Holbicould you please comment? Share this post Link to post Share on other sites
pandrei 18 Posted November 17, 2022 On 11/15/2022 at 7:51 PM, spidometrs said: Why does this error arise? How to fix it? Hi, Sergey! Are you running your server under Windows or Linux? Share this post Link to post Share on other sites
pandrei 18 Posted November 17, 2022 On 11/15/2022 at 7:51 PM, spidometrs said: Why does this error arise? How to fix it? Or maybe you are using nginx? Share this post Link to post Share on other sites
Ivan Holbi 17 Posted November 17, 2022 On 11/15/2022 at 9:07 PM, spidometrs said: When I do Cache Control Flush (Smarty, Themes), I get a mistake: HI Sergey, Please comment the option open_basedir in php.ini or add the path to the website there. Please see the option description below. https://www.php.net/manual/en/ini.core.php#ini.open-basedir Best regards, Ivan Share this post Link to post Share on other sites
spidometrs 10 Posted November 17, 2022 (edited) 6 hours ago, pandrei said: Hi, Sergey! Are you running your server under Windows or Linux? CentOS 7.9.2009 x86_64 Apache http server v2.4 PHP v7.4 MySQL 10.7.3-MARIADB Edited November 17, 2022 by spidometrs No outside url's in signatures allowed - thanks Share this post Link to post Share on other sites
pandrei 18 Posted November 17, 2022 43 minutes ago, spidometrs said: CentOS 7.9.2009 x86_64 Thanks. Check if you have the following symlinks in public_html dir that point to public_html dir: b2b-supermarket furniture printshop watch Share this post Link to post Share on other sites
spidometrs 10 Posted November 17, 2022 (edited) 31 minutes ago, pandrei said: Thanks. Check if you have the following symlinks in public_html dir that point to public_html dir: b2b-supermarket furniture printshop watch The server has a root directory for the site /www/wwwroot/demo-v4.mysite.com This root directory contains all Oscommerce distribution files. In which file I should prescribe something for: B2B-SUPERMARKET Furniture Printshop Watch ? Edited November 17, 2022 by spidometrs No outside url's in signatures allowed - thanks Share this post Link to post Share on other sites
pandrei 18 Posted November 17, 2022 3 minutes ago, spidometrs said: In which file I should prescribe something for: You have to create a symlink for each sales channel in this way: cd /www/wwwroot/demo-v4.mysite.com ln -s ./ watch ln -s ./ furniture ln -s ./ printshop ln -s ./ b2b-supermarket 2 spidometrs and osCommerce-Official reacted to this Share this post Link to post Share on other sites
spidometrs 10 Posted November 17, 2022 26 minutes ago, pandrei said: You have to create a symlink for each sales channel in this way: cd /www/wwwroot/demo-v4.mysite.com ln -s ./ watch ln -s ./ furniture ln -s ./ printshop ln -s ./ b2b-supermarket Thanks for your help! Are these commands in the description of OScommerce V4 installation? Where is that written? I have not seen such descriptions. No outside url's in signatures allowed - thanks Share this post Link to post Share on other sites
pandrei 18 Posted November 17, 2022 16 minutes ago, spidometrs said: Thanks for your help! Are these commands in the description of OScommerce V4 installation? Where is that written? I have not seen such descriptions. You are welcome. These links are created automatically during installation, but in your case some error occurred during creation. 1 spidometrs reacted to this Share this post Link to post Share on other sites
tsruban 0 Posted December 20, 2022 On 7/29/2022 at 1:33 PM, osCommerce-Official said: So is this now resolved, once you've assigned the theme? I also get the same error.! Share this post Link to post Share on other sites