Crysties Posted October 21, 2017 Share Posted October 21, 2017 I modified settings.tax.inc to sort state in asc order per bsmither in a previous post. It has been working great. When the upgrade was done 6.1.12, I modified the file and tried to update online. The file would not overwrite the online file. In frustration I deleted the online file and uploaded the modified file from 6.1.12 backup. Now when I click on "Taxes" in Admin I get a blank page and the location is https:/xxxxxxxxx.com/admin_xxxxxx.php?_g=settings&node=tax , Please, how do I fix this? Quote Link to comment Share on other sites More sharing options...
bsmither Posted October 21, 2017 Share Posted October 21, 2017 We would ask that you create the error log. Your SIG says you are running PHP 5.2. We hope this has been upgraded past PHP 5.4. Also, there are certain PHP extensions that need to be enabled on the server (ZIPArchive, MBString) to work with recent versions of CubeCart. Quote Link to comment Share on other sites More sharing options...
Crysties Posted October 22, 2017 Author Share Posted October 22, 2017 (edited) I update my profile but I don't see it showing up on the signature attachment. Hosted by BlueHost as recommended by CubeCart many years ago. cPanel 60.0 (build 48) Apache 2.2.34 PHP 5.6.31 MySQL 5.6.32-78.1 Perl 5.22.1 Edited October 22, 2017 by Crysties Quote Link to comment Share on other sites More sharing options...
Crysties Posted October 22, 2017 Author Share Posted October 22, 2017 Turns out I already have the error.log It says [21-Oct-2017 19:57:40 America/Los_Angeles] PHP Fatal error: Call to undefined function MultiSort() in /home2/XXXXXXX/public_html/admin_XXXXXXX/sources/settings.tax.inc.php on line 185 [22-Oct-2017 03:01:46 UTC] PHP Notice: Undefined index: _g in /home2/XXXXXXX/public_html/classes/ssl.class.php on line 38 Quote Link to comment Share on other sites More sharing options...
bsmither Posted October 22, 2017 Share Posted October 22, 2017 So, I suggested an edit to sort tax rules? This edit had some new code added to this file, and the code calls the function MultiSort(). Then, I must have also made mention of where to put this function. Maybe in /includes/functions.inc.php. Can you point me to the conversation where we discussed this? Found it. The function was added to the end of the file. Please verify the settings.tax.inc.php file has the function at the end of the file. Quote Link to comment Share on other sites More sharing options...
Crysties Posted October 22, 2017 Author Share Posted October 22, 2017 (edited) Your reply was dated April 11, 2016. Would you like me to cut and paste your reply here? Ignore. It was in admin/sources/sessions.tax.inc.php I just went back and looked at your posting and I copied it as you wrote it. I was leaving out part of the script. It now works. Thank you for your help. Three things. 1. There was a second error re ssl.class.php. Is this related to first error? 2. How do I edit the signature in my profile? 3. What can I use to open the .php files that shows line numbers? I usually use Notepad or it auto opens in OpenOffice Text Document. Edited October 22, 2017 by Crysties Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted October 22, 2017 Share Posted October 22, 2017 Editing your sig for this forum is kind of odd right now - you can't see the signature choice until you let the curser go down the left hand column in your Account Settings - all you initially see is Overview. Quote Link to comment Share on other sites More sharing options...
Crysties Posted October 22, 2017 Author Share Posted October 22, 2017 Got the sig fixed. Thank you for all your help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.