wilma2 Posted October 5, 2008 Posted October 5, 2008 Hi Can someone again please help i tried installing the script below and received this error message. I have a feeling it is something small but you never know. Warning: require(includes/languages/add_ccgvdc_application_top.php) [function.require]: failed to open stream: No such file or directory in /home/canadace/public_html/includes/application_top.php on line 603 Fatal error: require() [function.require]: Failed opening required 'includes/languages/add_ccgvdc_application_top.php' (include_path='.:/usr/local/php52/pear') in /home/canadace/public_html/includes/application_top.php on line 603 Quote
Guest Posted October 5, 2008 Posted October 5, 2008 Hi Can someone again please help i tried installing the script below and received this error message. I have a feeling it is something small but you never know. Warning: require(includes/languages/add_ccgvdc_application_top.php) [function.require]: failed to open stream: No such file or directory in /home/canadace/public_html/includes/application_top.php on line 603 Fatal error: require() [function.require]: Failed opening required 'includes/languages/add_ccgvdc_application_top.php' (include_path='.:/usr/local/php52/pear') in /home/canadace/public_html/includes/application_top.php on line 603 It can't find includes/languages/add_ccgvdc_application_top.php if that is the correct file name. Quote
wilma2 Posted October 5, 2008 Author Posted October 5, 2008 It can't find includes/languages/add_ccgvdc_application_top.php if that is the correct file name. hmmm from the instructions i printed out for this contribution it told me to 20. catalog/includes/application_top.php (EDIT) Add the following line to the end of the file just before the closing ?> tag require(DIR_WS_INCLUDES . 'add_ccgvdc_application_top.php'); // CCGV could that be the problem? I got this from CCGV(trad) install instructions html it refers to that file, should it be there? I thank you so much Coopco you have helped me so much thank you. i was in Melbourne in Aug esp to see the penguins...cold but so pretty Quote
Guest Posted October 5, 2008 Posted October 5, 2008 hmmm from the instructions i printed out for this contribution it told me to 20. catalog/includes/application_top.php (EDIT) Add the following line to the end of the file just before the closing ?> tag require(DIR_WS_INCLUDES . 'add_ccgvdc_application_top.php'); // CCGV could that be the problem? I got this from CCGV(trad) install instructions html it refers to that file, should it be there? I thank you so much Coopco you have helped me so much thank you. i was in Melbourne in Aug esp to see the penguins...cold but so pretty The file should be copied to the includes directory, but the error message says it is looking for it in the includes/languages/ directory. Maybe DIR_WS_INCLUDES is not defined correctly in the configure.php file Quote
wilma2 Posted October 5, 2008 Author Posted October 5, 2008 The file should be copied to the includes directory, but the error message says it is looking for it in the includes/languages/ directory. Maybe DIR_WS_INCLUDES is not defined correctly in the configure.php file This is from that config file you mention does it help? Or is it easier to start fresh? Since all the product files are there would it be hard to reinstall oscommerce? Thereby creating directories as they should be? $JT_CONFIG['DIR_WS_INCLUDES'] = 'includes/'; define('DIR_WS_INCLUDES', $JT_CONFIG['DIR_WS_INCLUDES']); $JT_CONFIG['DIR_WS_BOXES'] = $JT_CONFIG['DIR_WS_INCLUDES'] . 'boxes/'; define('DIR_WS_BOXES', $JT_CONFIG['DIR_WS_BOXES']); $JT_CONFIG['DIR_WS_FUNCTIONS'] = $JT_CONFIG['DIR_WS_INCLUDES'] . 'functions/'; define('DIR_WS_FUNCTIONS', $JT_CONFIG['DIR_WS_FUNCTIONS']); $JT_CONFIG['DIR_WS_CLASSES'] = $JT_CONFIG['DIR_WS_INCLUDES'] . 'classes/'; define('DIR_WS_CLASSES', $JT_CONFIG['DIR_WS_CLASSES']); $JT_CONFIG['DIR_WS_MODULES'] = $JT_CONFIG['DIR_WS_INCLUDES'] . 'modules/'; define('DIR_WS_MODULES', $JT_CONFIG['DIR_WS_MODULES']); $JT_CONFIG['DIR_WS_LANGUAGES'] = $JT_CONFIG['DIR_WS_INCLUDES'] . 'languages/'; define('DIR_WS_LANGUAGES', $JT_CONFIG['DIR_WS_LANGUAGES']); Quote
Guest Posted October 5, 2008 Posted October 5, 2008 This is from that config file you mention does it help? Or is it easier to start fresh? Since all the product files are there would it be hard to reinstall oscommerce? Thereby creating directories as they should be? $JT_CONFIG['DIR_WS_INCLUDES'] = 'includes/'; define('DIR_WS_INCLUDES', $JT_CONFIG['DIR_WS_INCLUDES']); $JT_CONFIG['DIR_WS_BOXES'] = $JT_CONFIG['DIR_WS_INCLUDES'] . 'boxes/'; define('DIR_WS_BOXES', $JT_CONFIG['DIR_WS_BOXES']); $JT_CONFIG['DIR_WS_FUNCTIONS'] = $JT_CONFIG['DIR_WS_INCLUDES'] . 'functions/'; define('DIR_WS_FUNCTIONS', $JT_CONFIG['DIR_WS_FUNCTIONS']); $JT_CONFIG['DIR_WS_CLASSES'] = $JT_CONFIG['DIR_WS_INCLUDES'] . 'classes/'; define('DIR_WS_CLASSES', $JT_CONFIG['DIR_WS_CLASSES']); $JT_CONFIG['DIR_WS_MODULES'] = $JT_CONFIG['DIR_WS_INCLUDES'] . 'modules/'; define('DIR_WS_MODULES', $JT_CONFIG['DIR_WS_MODULES']); $JT_CONFIG['DIR_WS_LANGUAGES'] = $JT_CONFIG['DIR_WS_INCLUDES'] . 'languages/'; define('DIR_WS_LANGUAGES', $JT_CONFIG['DIR_WS_LANGUAGES']); I haven't seen that arrangement before, are you using a template of some sort? Quote
wilma2 Posted October 5, 2008 Author Posted October 5, 2008 I haven't seen that arrangement before, are you using a template of some sort? i had this imported from another site i had designed by a web design company on another host and another domain. They were slow at doing things and fixing things so i found a site siteground that moved a copy of my site from the old host to them so now i have 2 hosts and 2 domains but the same contet in each. However in the first site they do not allow ftp access so i can not change it if i wanted to. That was part of the reason for the new site so i could do things they were slow at doing. I asked them to fix the coupons back in march. So now i am trying to do things myself. Someone else on this site said they think a template maybe in use to as i could not change things like the footer. but i do not know how to not use a template if there is one in use. Quote
Guest Posted October 5, 2008 Posted October 5, 2008 i had this imported from another site i had designed by a web design company on another host and another domain. They were slow at doing things and fixing things so i found a site siteground that moved a copy of my site from the old host to them so now i have 2 hosts and 2 domains but the same contet in each. However in the first site they do not allow ftp access so i can not change it if i wanted to. That was part of the reason for the new site so i could do things they were slow at doing. I asked them to fix the coupons back in march. So now i am trying to do things myself. Someone else on this site said they think a template maybe in use to as i could not change things like the footer. but i do not know how to not use a template if there is one in use. Maybe someone can help here, I just don't know. Quote
wilma2 Posted October 5, 2008 Author Posted October 5, 2008 Thanks, if neccesary do you know if there is much to restarting?If i reload oscommerce will it be like starting from scratch? And things back to default yet since the files are they i am guessing i would not have to reload items? Trish Quote
Guest Posted October 5, 2008 Posted October 5, 2008 Thanks, if neccesary do you know if there is much to restarting?If i reload oscommerce will it be like starting from scratch? And things back to default yet since the files are they i am guessing i would not have to reload items? Trish Make a backup of your database, ftp it to your computer along with a copy of the files on your site. Then you could download a fresh osc from the blue solutions tab at the top of the page, and then install it. Don't jump the gun though, see if some can come up with a better solution for you. Quote
wilma2 Posted October 5, 2008 Author Posted October 5, 2008 Make a backup of your database, ftp it to your computer along with a copy of the files on your site. Then you could download a fresh osc from the blue solutions tab at the top of the page, and then install it. Don't jump the gun though, see if some can come up with a better solution for you. with any luck someone can come up with something. I know my new host makes it easy to download oscommerce again but like you said dont jump the gun. Although it is good to know that part of the problem i was having is not my fault Quote
Guest Posted October 5, 2008 Posted October 5, 2008 with any luck someone can come up with something. I know my new host makes it easy to download oscommerce again but like you said dont jump the gun. Although it is good to know that part of the problem i was having is not my fault Don't download osc from your host, get it from the blue solutions tab at the top of the page. Quote
wilma2 Posted October 5, 2008 Author Posted October 5, 2008 Don't download osc from your host, get it from the blue solutions tab at the top of the page. why is that? I did some playing and this is now the error i have instead of home page Fatal error: Cannot redeclare create_coupon_code() (previously declared in /home/canadace/public_html/includes/functions/general.php:17) in /home/canadace/public_html/includes/add_ccgvdc_application_top.php on line 49 but i now have the right stuff in admin so hey step forward Quote
Guest Posted October 5, 2008 Posted October 5, 2008 why is that?I did some playing and this is now the error i have instead of home page Fatal error: Cannot redeclare create_coupon_code() (previously declared in /home/canadace/public_html/includes/functions/general.php:17) in /home/canadace/public_html/includes/add_ccgvdc_application_top.php on line 49 but i now have the right stuff in admin so hey step forward Good stuff. The download from this site is not doctored in anyway. Quote
wilma2 Posted October 5, 2008 Author Posted October 5, 2008 Good stuff. The download from this site is not doctored in anyway. is it a problem to install? Are you saying the stuff on sites is "customized?" Quote
Guest Posted October 5, 2008 Posted October 5, 2008 is it a problem to install? Are you saying the stuff on sites is "customized?" Install is easy, and then everyone here knows what you have. Quote
wilma2 Posted October 5, 2008 Author Posted October 5, 2008 that would make a lot of things easier i am sure, would putting the products in be hard? I am guessing no because the directory structure is the same but i would have to redo the customizing ie logos etc. Quote
Guest Posted October 5, 2008 Posted October 5, 2008 that would make a lot of things easier i am sure, would putting the products in be hard? I am guessing no because the directory structure is the same but i would have to redo the customizing ie logos etc. It is really easy, you will not have problems, but if you do, just ask. Do look at the first two pinned posts at the start of the installation and configuration forum. Quote
wilma2 Posted October 6, 2008 Author Posted October 6, 2008 Ok i have the new oscommerce installed is there a way to import product from the backup of the old install I have? Quote
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.