Leak-Proof Posted February 27, 2006 Share Posted February 27, 2006 I am quite sure I installed the "UPS XML Rates v1.2 for osCommerce 2.2 MS2 2006/02/01" correctly. I tried to run the sql install, but it returned an error for duplicat columns, so i did it manually. I had to alter an existing database entry "Products_ready_to _ship" from ENUM "0","1" to INT 1 . I also changed the configuration table in my database in the type for field "set_function" from VARCHAR(255) to TEXT. I now get the following error in the Admin section when I try to enter the Modules Section. Please assist if possible. Warning: main(): open_basedir restriction in effect. File(../../../../public_html/osCommerce/admin/includes/application_top.php) is not within the allowed path(s): (/home/leakp:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/leakp/public_html/osCommerce/admin/modules.php on line 13 Warning: main(../../../../public_html/osCommerce/admin/includes/application_top.php): failed to open stream: Operation not permitted in /home/leakp/public_html/osCommerce/admin/modules.php on line 13 Warning: main(): open_basedir restriction in effect. File(../../../../public_html/osCommerce/admin/includes/application_top.php) is not within the allowed path(s): (/home/leakp:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/leakp/public_html/osCommerce/admin/modules.php on line 13 Warning: main(../../../../public_html/osCommerce/admin/includes/application_top.php): failed to open stream: Operation not permitted in /home/leakp/public_html/osCommerce/admin/modules.php on line 13 Fatal error: main(): Failed opening required '../../../../public_html/osCommerce/admin/includes/application_top.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leakp/public_html/osCommerce/admin/modules.php on line 13 My original UPS module (the one that comes with the virgin Oscommerce does not return any rates. It says "United Parcel Service An error occured with the UPS shipping calculations. Origin postal code must have five digits. If you prefer to use UPS as your shipping method, please contact the store owner." PS: I have installed the Canada Post Module and Fedex, they seem to work OK. Rod Quote I like these mods, there fun! ...65 70 72 75 80 85 125+ contributions installed and counting... Tools I'm using: OSC2.2 milestone2, Filezilla for FTP, PHP Designer 2007PE (nice), Araxis Merge 6.5 to compare files, XP(my box), Remote Server is shared Apache 1.3 Cpanel, CURL, and PHPmyAdmin through my hosts Cpanel to mess up the database. Link to comment Share on other sites More sharing options...
surfalot Posted February 27, 2006 Share Posted February 27, 2006 that's odd, make sure this is your line 13 of the file /osCommerce/admin/modules.php require('includes/application_top.php'); Quote Link to comment Share on other sites More sharing options...
Leak-Proof Posted February 27, 2006 Author Share Posted February 27, 2006 that's odd, make sure this is your line 13 of the file /osCommerce/admin/modules.php require('includes/application_top.php'); Thanks for your response. I found that Dreamweaver8 will change the dependant files of a page I open. I don't know why. Perhaps i don't need to "get dependent files" each time I edit a file in Oscommerce. Maybe you could tell me. I fx the two instances where it rewrote the file path for my desktop pathway instead of the original remote server pathways. However, After I sorted out all that, it is apparent that part of this contribution (Dimensional Support Installation for the UPS XML Rates v1.2 for osCommerce 2.2 MS2 2006/02/01) is not compatible with (Canada_Post_3_7_rev1). The reason is that the UPS module install instructions asks you to write out some "things" needed for the Canada post module. I had worked 6 hours on it then had to restore a backup because I screwed up the files so much trying to allow for both. PS: I am new to this code writing stuff so things which may be intuitive to coders will zipp right over my head. The vast majority of Oscommerce users are probably in the same boat. I hope one of the code charmers came help us out in Canada. Quote I like these mods, there fun! ...65 70 72 75 80 85 125+ contributions installed and counting... Tools I'm using: OSC2.2 milestone2, Filezilla for FTP, PHP Designer 2007PE (nice), Araxis Merge 6.5 to compare files, XP(my box), Remote Server is shared Apache 1.3 Cpanel, CURL, and PHPmyAdmin through my hosts Cpanel to mess up the database. Link to comment Share on other sites More sharing options...
Leak-Proof Posted February 27, 2006 Author Share Posted February 27, 2006 I guess I spoke to soon, I am still getting an error. I hope some will know where the program is comming across the reference below. 1146 - Table 'leakp_osc1.TABLE_PACKAGING' doesn't exist select *, (package_length * package_width * package_height) as volume from TABLE_PACKAGING order by volume; [TEP STOP] Any help is appreciated. Quote I like these mods, there fun! ...65 70 72 75 80 85 125+ contributions installed and counting... Tools I'm using: OSC2.2 milestone2, Filezilla for FTP, PHP Designer 2007PE (nice), Araxis Merge 6.5 to compare files, XP(my box), Remote Server is shared Apache 1.3 Cpanel, CURL, and PHPmyAdmin through my hosts Cpanel to mess up the database. Link to comment Share on other sites More sharing options...
Leak-Proof Posted February 27, 2006 Author Share Posted February 27, 2006 I fixed it myself. It seemed that I needed to REMOVE the module in the Admin section web interface. Quote I like these mods, there fun! ...65 70 72 75 80 85 125+ contributions installed and counting... Tools I'm using: OSC2.2 milestone2, Filezilla for FTP, PHP Designer 2007PE (nice), Araxis Merge 6.5 to compare files, XP(my box), Remote Server is shared Apache 1.3 Cpanel, CURL, and PHPmyAdmin through my hosts Cpanel to mess up the database. 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.
Note: Your post will require moderator approval before it will be visible.