Hotclutch Posted April 15, 2021 Share Posted April 15, 2021 Your HTTPS_SERVER definition is blank, that's the last thing i can think of trying. Fill it with your website URL and incl the https: Link to comment Share on other sites More sharing options...
sandrasp Posted April 15, 2021 Author Share Posted April 15, 2021 define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); define('HTTPS_SERVER', 'https://www.sandraspetsparadise.nl'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/shop/'); define('HTTPS_COOKIE_PATH', '/shop/'); define('DIR_WS_HTTPS_ADMIN', '/shop/admin/'); this is the last i've tried...sadly, without the wanted result 😥@Hotclutch, thanx for the tips and trying to figure this out wiht me.💐 Maybe someone else will have another idea Link to comment Share on other sites More sharing options...
Hotclutch Posted April 15, 2021 Share Posted April 15, 2021 Which version of PHP are you using ? You can check this in Admin -> Tools -> Server Info Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 15, 2021 Share Posted April 15, 2021 2 hours ago, sandrasp said: SO...here are my config files: There are a number of mistakes in both files. I don't know if they will fix your original problem but they do need to be changed. Here are the edited files: define('HTTP_SERVER', 'https://www.sandraspetsparadise.nl'); define('HTTPS_SERVER', 'https://www.sandraspetsparadise.nl'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.sandraspetsparadise.nl'); define('HTTPS_COOKIE_DOMAIN', 'www.sandraspetsparadise.nl'); define('HTTP_COOKIE_PATH', '/shop/'); define('HTTPS_COOKIE_PATH', '/shop/'); define('DIR_WS_HTTP_CATALOG', '/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/var/www/vhosts/sandraspetsparadise.nl/httpdocs/shop/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('HTTP_SERVER', 'https://www.sandraspetsparadise.nl'); define('HTTP_CATALOG_SERVER', 'https://www.sandraspetsparadise.nl'); define('HTTPS_CATALOG_SERVER', 'https://www.sandraspetsparadise.nl'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/var/www/vhosts/sandraspetsparadise.nl/httpdocs'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); define('DIR_WS_ADMIN', '/shop/admin/'); define('DIR_FS_ADMIN', '/var/www/vhosts/sandraspetsparadise.nl/httpdocs/shop/admin/'); define('DIR_WS_CATALOG', '/shop/'); define('DIR_FS_CATALOG', '/var/www/vhosts/sandraspetsparadise.nl/httpdocs/shop/'); define('DIR_WS_IMAGES', '/shop/images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
sandrasp Posted April 18, 2021 Author Share Posted April 18, 2021 On 4/15/2021 at 3:47 PM, Hotclutch said: Which version of PHP are you using ? You can check this in Admin -> Tools -> Server Info This version: On 4/15/2021 at 4:37 PM, Jack_mcs said: There are a number of mistakes in both files. I don't know if they will fix your original problem but they do need to be changed. Here are the edited files: thanks.... i made the changes to the files as you have shown in the edited files you send. THanx for the advise. As you already probably thougt....it did not fix my problem, But at least my files are having those mistakes fixed.😁 so. i put my edited file her again. Hoping that someone would be able to see what to do to so that customers would be able to create an account and put items in the shoppingcart. Both still isn't possible.😔 this is the include/configure.php file as it is in the moment. define('HTTP_SERVER', 'https://www.sandraspetsparadise.nl'); define('HTTPS_SERVER', 'https://www.sandraspetsparadise.nl'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.sandraspetsparadise.nl'); define('HTTPS_COOKIE_DOMAIN', 'www.sandraspetsparadise.nl'); define('HTTP_COOKIE_PATH', '/shop/'); define('HTTPS_COOKIE_PATH', '/shop/'); define('DIR_WS_HTTP_CATALOG', '/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/var/www/vhosts/sandraspetsparadise.nl/httpdocs/shop/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); and this the admin/include/configure.php: define('HTTP_SERVER', 'https://www.sandraspetsparadise.nl'); define('HTTP_CATALOG_SERVER', 'https://www.sandraspetsparadise.nl'); define('HTTPS_CATALOG_SERVER', 'https://www.sandraspetsparadise.nl'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/var/www/vhosts/sandraspetsparadise.nl/httpdocs/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); define('DIR_WS_ADMIN', '/shop/admin/'); define('DIR_FS_ADMIN', '/var/www/vhosts/sandraspetsparadise.nl/httpdocs/shop/admin/'); define('DIR_WS_CATALOG', '/shop/'); define('DIR_FS_CATALOG', '/var/www/vhosts/sandraspetsparadise.nl/httpdocs/shop/'); define('DIR_WS_IMAGES', '/shop/images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); define('HTTPS_SERVER', 'https://www.sandraspetsparadise.nl'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/shop/'); define('HTTPS_COOKIE_PATH', '/shop/'); define('DIR_WS_HTTPS_ADMIN', '/shop/admin/'); 🤞hoping someone can help Link to comment Share on other sites More sharing options...
Hotclutch Posted April 18, 2021 Share Posted April 18, 2021 Can you up your php version to 7+ ? Link to comment Share on other sites More sharing options...
Hotclutch Posted April 18, 2021 Share Posted April 18, 2021 You can also look through this: Link to comment Share on other sites More sharing options...
sandrasp Posted April 18, 2021 Author Share Posted April 18, 2021 2 hours ago, Hotclutch said: Can you up your php version to 7+ ? i thought that Oscommerce 2.3.4 wasn't compatible with php 7+ 🤔 Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 18, 2021 Share Posted April 18, 2021 3 hours ago, sandrasp said: Hoping that someone would be able to see what to do to so that customers would be able to create an account and put items in the shoppingcart. Is there an error_log file in the shop directory? If there is, it might indicate the problem. If not, try replacing the error_reporting line in includes/application_top.php with the following. Then try creating and account and see if any errors are displayed. error_reporting(1); ini_set('display_errors','1'); And clear the sessions table in the database and turn off the cache and gzip settings in admin. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Hotclutch Posted April 18, 2021 Share Posted April 18, 2021 22 minutes ago, sandrasp said: i thought that Oscommerce 2.3.4 wasn't compatible with php 7+ 🤔 It will run on 7.4 It has error reporting set to suppress errors. Most of the errors will be of the type: 1) The each() function is deprecated. 2) Methods with the same name as their class will not be constructors in a future version of PHP; I have a file set with most (or much) of these php updates done, if anyone is interested. Link to comment Share on other sites More sharing options...
sandrasp Posted April 18, 2021 Author Share Posted April 18, 2021 21 minutes ago, Jack_mcs said: Is there an error_log file in the shop directory? If there is, it might indicate the problem. If not, try replacing the error_reporting line in includes/application_top.php with the following. Then try creating and account and see if any errors are displayed. error_reporting(1); ini_set('display_errors','1'); And clear the sessions table in the database and turn off the cache and gzip settings in admin. omg. 😃😃😃 it's working!!! i can create an account AND put an item in the cart! it was probably those cache and gzip settings! thank you soooooooo much! 💐 so if i put that error reporting code in aplication-top. will next time something goes wrong an error or something occur? so that i can find out what it is? If yes... i am going to change that line (i couldn't find an Error_log) Because i have much more testing to do. IDeal for instant. but that is for an next time. I have had Enought braintraining for today🤣 Link to comment Share on other sites More sharing options...
Hotclutch Posted April 18, 2021 Share Posted April 18, 2021 Gzip is important so try it now with it turned on. Link to comment Share on other sites More sharing options...
sandrasp Posted April 18, 2021 Author Share Posted April 18, 2021 6 minutes ago, Hotclutch said: Gzip is important so try it now with it turned on. okay i have put this back to true...like this: and i can stil create an account and put an item in the cart! yesss🎉😁 Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 18, 2021 Share Posted April 18, 2021 1 hour ago, sandrasp said: so if i put that error reporting code in aplication-top. will next time something goes wrong an error or something occur? so that i can find out what it is? No, it shouldn't be left is as is. You can leave it in but change the '1' to '0'. Otherwise all of your visitors will see errors. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
sandrasp Posted May 3, 2021 Author Share Posted May 3, 2021 On 4/18/2021 at 8:02 PM, Jack_mcs said: No, it shouldn't be left is as is. You can leave it in but change the '1' to '0'. Otherwise all of your visitors will see errors. Okay, good to know! thankyou. i'm wondering. This way of showing the errors. Does this show ALL error on the site? because my ideal function isn't working...but when i put this error reporting code in the aplication_top.... is still don't see ANY errors on my site... Link to comment Share on other sites More sharing options...
sandrasp Posted May 3, 2021 Author Share Posted May 3, 2021 13 minutes ago, sandrasp said: Okay, good to know! thankyou. i'm wondering. This way of showing the errors. Does this show ALL error on the site? because my ideal function isn't working...but when i put this error reporting code in the aplication_top.... is still don't see ANY errors on my site... ok. i've tried another type of error reporting code...and this version is working. my site now shows errors. i've tried this code now in includes/aplication_top.php error_reporting(E_ALL & E_NOTICE ); ini_set('display_errors','1'); Link to comment Share on other sites More sharing options...
sandrasp Posted May 3, 2021 Author Share Posted May 3, 2021 i think i better make a new subject for solving all other error's including the ideal error's Thank you all for helping me out here! I'm super grateful for you all and your willingness to help!🤗 Hope to see the same help and willingnes on my new error_solving post 😅 Link to comment Share on other sites More sharing options...
Hotclutch Posted May 3, 2021 Share Posted May 3, 2021 Use this for debugging. Link to comment Share on other sites More sharing options...
ezfindit Posted May 22, 2021 Share Posted May 22, 2021 On 4/18/2021 at 9:42 AM, Hotclutch said: It will run on 7.4 It has error reporting set to suppress errors. Most of the errors will be of the type: 1) The each() function is deprecated. 2) Methods with the same name as their class will not be constructors in a future version of PHP; I have a file set with most (or much) of these php updates done, if anyone is interested. Ashley, Could you message me the file set for v.2.3.4 updates that will allow it to run on PHP v.7.4? I would like to have a go at updating my customized 2.3.4 shop using my testing environment. - Chris Chris Link to comment Share on other sites More sharing options...
Hotclutch Posted May 22, 2021 Share Posted May 22, 2021 2 hours ago, ezfindit said: Ashley, Could you message me the file set for v.2.3.4 updates that will allow it to run on PHP v.7.4? I would like to have a go at updating my customized 2.3.4 shop using my testing environment. - Chris I am going to have to find a way of sharing the edited package, because the last time I tried to send it with email it was blocked for security reasons. Certain types of (executable) files are prevented from being added as attachment, and I am not sure which. Let me see what I can do then I will gladly let you have it. Link to comment Share on other sites More sharing options...
Hotclutch Posted May 22, 2021 Share Posted May 22, 2021 Please test this link: https://www.dropbox.com/s/7ibbky8vn1wxwbq/oscommerce-2.3.4.1.zip?dl=0 Link to comment Share on other sites More sharing options...
ezfindit Posted May 22, 2021 Share Posted May 22, 2021 Thanks for sharing. I thought there was a list of which specific files needed to be updated and what coding changes you made. Chris Link to comment Share on other sites More sharing options...
Hotclutch Posted May 22, 2021 Share Posted May 22, 2021 That would be too long a list ... Just to clarify, the package is v2.3.4.1 the last official release. The changes are only php fixes. Partially completed but will give anyone a good start. When i have some free time i will do more work on it, and update the package. Link to comment Share on other sites More sharing options...
ezfindit Posted May 22, 2021 Share Posted May 22, 2021 Would it be possible to identify which PHP files were changed so at least I'll compare a sub-set of them, versus comparing all of them? Chris Link to comment Share on other sites More sharing options...
Hotclutch Posted May 22, 2021 Share Posted May 22, 2021 8 minutes ago, ezfindit said: Would it be possible to identify which PHP files were changed so at least I'll compare a sub-set of them, versus comparing all of them? As I said, the list will be too long. All the files under includes/classes/ are changed. All the files under includes/modules/boxes/ are changed. And many others. IMO the best way for you to proceed what be to look at the reported errors with a debugging tool. Once you understand how to change one of them, then the rest is easy. Or look at the error, then find the solution for it in the changed fileset. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.