lextech Posted January 15, 2016 Posted January 15, 2016 osCommerce 2.3.3 Linux / Apache PHP 5.5.30 (Zend 2.5.0) I just did a fresh install of 2.3.3 (yes I know there is an update) and imported my database. The customer tables are there and show up, but my orders, categories/products, manufacturers, and specials are not showing up in ADMIN. The specials,categories, and products are live and working in the store. I tried to make a new order, which went through fine, but still doesn't show up in orders. I've went into PHPMY and run analyze, repair, etc on the database tables to no avail. Any idea would be very welcomed. Also as a side note, when loggin into admin I get the following error: Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect value given in /home3/xxxxxxxxxxxxxx/public_html/osCommerce/admin/login.php on line 63Error!Unable to determine the page link!Function used:tep_href_link('', '', 'NONSSL') I have to manually remove everything behind the /admin url to get into the admin panel. (/osCommerce/admin/login.php?action=process) I'd like to know how to fix this error as well please. RC2.2a
MrPhil Posted January 16, 2016 Posted January 16, 2016 I don't believe that osC 2.3.3 will work with PHP 5.5. Scrap it and install osC 2.3.4 (or better, the responsive version 2.3.4BS). There's no point in trying to patch up 2.3.3 to work with a current PHP version.
lextech Posted January 19, 2016 Author Posted January 19, 2016 Did not work. Same error on admin login. On both occasions I had to comment out action recorder to get it to even log in RC2.2a
lextech Posted January 20, 2016 Author Posted January 20, 2016 Just noticed the log in is not specific to the admin panel. Aside of the error max attempts for admin, there is no way to sign in to the store on the customer side. /login just has the page that says please log in and no way to do so. RC2.2a
lextech Posted January 20, 2016 Author Posted January 20, 2016 Ok, fresh DB and install. I created 1 user and an order. Backed up the DB through OSC/admin and through Cpanel. Cannot log into admin with the DB that has 1 customer. Can with the stock database that has no customer. No difference otherwise. The log in problem is with any variance of the database other than zero customers. RC2.2a
MrPhil Posted January 21, 2016 Posted January 21, 2016 Are you still working with 2.3.3? I would suggest jumping to 2.3.4BS before you invest too much in an old version. If this is a new installation, and not the migration of a well-established shop, you should definitely start with the latest and greatest, rather than trying to patch up an older shop version.
AlexanderNick Posted January 21, 2016 Posted January 21, 2016 Install osC 2.3.4 or PHP 5.3 or Comment out admin/login.php tep_redirect(tep_href_link(FILENAME_DEFAULT)); //add the line /*if (tep_session_is_registered('redirect_origin')) { $page = $redirect_origin['page']; $get_string = ''; if (function_exists('http_build_query')) { $get_string = http_build_query($redirect_origin['get']); } tep_session_unregister('redirect_origin'); tep_redirect(tep_href_link($page, $get_string)); } else { tep_redirect(tep_href_link(FILENAME_DEFAULT)); }*/ But this is not the solution all problem. Probably will be and other problems associated with incompatible versions osC and php.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.