HaughtonLab Posted June 10, 2009 Posted June 10, 2009 (edited) Hi, So I have a modified version of osCommerce that I discovered after the fact that i needed to install a shipping solution that was customizable. MVS is/ was the perfect solution as it addressed all of my needs. I downloaded the contribution, read all of the install files, and followed the steps to install. I ran the database file which successfully installed, i made sure that it had a vendors id of 1, I uploaded all of the new files into their proper directories, and then used DeltaWalker to compare my modified files with the MVS modified files making the appropriate changes. I then uploaded the modified files to the server. When I logged into my admin panel to begin customization, everything seemed to be fine. I enabled vendor shipping, then went into vendors to set up shipping parameters, but when I select a vendor and click manage i receive the following error: Warning: main(includes/classes/xml.php) [function.main]: failed to open stream: No such file or directory in /nfs/c02/h02/mnt/19923/domains/xxxx.com/html/store/includes/modules/vendors_shipping/bax.php on line 19 Fatal error: main() [function.require]: Failed opening required 'includes/classes/xml.php' (include_path='.:/usr/local/php-4.4.8-1/share/pear') in /nfs/c02/h02/mnt/19923/domains/xxxx.com/html/store/includes/modules/vendors_shipping/bax.php on line 19 It will let me add new vendors, but I can not configure them. I have confirmed that the xml.php file is in the proper directory, but the error is still there. Everything else in the site seems to be working properly, except for at check out where I get a new error whether or not the vendor shipping is enabled. Here is the error I receive there: Warning: reset() [function.reset]: Passed variable is not an array or object in /nfs/c02/h02/mnt/19923/domains/xxxx.com/html/store/includes/classes/vendor_shipping.php on line 50 Warning: Cannot modify header information - headers already sent by (output started at /nfs/c02/h02/mnt/19923/domains/xxxx.com/html/store/includes/classes/vendor_shipping.php:50) in /nfs/c02/h02/mnt/19923/domains/xxxx.com/html/store/includes/functions/general.php on line 33 Also, I do not have any non included shipping mods installed, just the ones included with osCommerce. If anyone has encountered these errors or has any suggestions, your help would be greatly appreciated, this is the last step in getting this store launched. Thanks. Edited June 10, 2009 by HaughtonLab Quote
HaughtonLab Posted June 10, 2009 Author Posted June 10, 2009 (edited) Actually, the second error above is only when the module is enabled, here is the error i receive after clicking on confirm order when it is turned off: Warning: Invalid argument supplied for foreach() in /nfs/c02/h02/mnt/19923/domains/sylvansport.com/html/store/checkout_process.php on line 154 Warning: Cannot modify header information - headers already sent by (output started at /nfs/c02/h02/mnt/19923/domains/sylvansport.com/html/store/checkout_process.php:154) in /nfs/c02/h02/mnt/19923/domains/sylvansport.com/html/store/includes/functions/general.php on line 33 This does not keep the order from being processed, but does not continue onto the success page. Thanks. Edited June 10, 2009 by HaughtonLab Quote
spooks Posted June 10, 2009 Posted June 10, 2009 Cannot modify header information - headers already sent error(s) is usualy due to whitespace at start/end of file, created when editing file or by some 'bad' editors. The inbuilt editor in filemanager can cause this, edit your files with a proper text editor, such as html-kit. http://www.oscommerce.info/kb/osCommerce/Common_Problems/15 Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
crash3903 Posted June 10, 2009 Posted June 10, 2009 (edited) the first few errors are telling you that you have files missing the last one is normally caused by junk at the front of the file or whitespace regards mark Edited June 10, 2009 by crash3903 Quote Regards Mark A Reynolds
HaughtonLab Posted June 10, 2009 Author Posted June 10, 2009 Thanks to both of you, I had already figured out that there must have been some errors in the file (junk & whitespace) due to some late night file comparison, so i am re-integrating the MVS script into my modded files (but with more sleep). I have copies of all the files that were backed up before adding the Mod. In regards to the first error, I can't seem to find any files that are missing-- I have compared all the server files to those in the contribution and everything is in line-- is there anything else that I might look at? Thanks again. Quote
spooks Posted June 11, 2009 Posted June 11, 2009 Just go over everything carefully, make sure u have not made errors remembeer contribs are for standard osc versions, so if your site is non standard they may not be compatible Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
HaughtonLab Posted June 11, 2009 Author Posted June 11, 2009 Thanks Sam. It's standard except for the other contributions and template modifications that have been incorporated into it. There is nothing that has been added to the site that did not come from the community. Quote
♥kymation Posted June 11, 2009 Posted June 11, 2009 You can get rid of that first error message by removing the BAX module file from catalog/includes/modules/vendor_shipping/. If you need that module, add it back after you've fixed all the other errors. The checkout error is caused by not having any shipping modules configured for your vendors. And you'd probably get better responses by posting in the dedicated MVS support thread. Regards Jim Quote See my profile for a list of my addons and ways to get support.
HaughtonLab Posted June 11, 2009 Author Posted June 11, 2009 (edited) thanks Jim, the readme file link brought me here-- if I had known there was a dedicated thread i would have posted there. Would you mind posting a link? I will try removing the bax file, i think i just about have all the other files cleaned up. Edited June 11, 2009 by HaughtonLab Quote
♥kymation Posted June 11, 2009 Posted June 11, 2009 I thought I had that fixed. Sorry; one more bug, in the readme this time. The thread is here. Regards Jim Quote See my profile for a list of my addons and ways to get support.
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.