Guest Posted May 20, 2004 Posted May 20, 2004 I have managed to nearly get this contribution working, but am stuck on one last point...I can access the admin section no problem, and access all the paypal ipn test pages etc but I can not view my actual shop :huh: By this I mean when I try to view my catalog I get <br>Parse error: parse error in /home/x/x/xxxxxxxx/public_html/catalog/includes/application_top.php on line 256 Warning: main(DIR_WS_LANGUAGES/FILENAME_DEFAULT): failed to open stream: No such file or directory in /home/x/x/xxxxxxxx/public_html/catalog/index.php on line 33 Fatal error: main(): Failed opening required 'DIR_WS_LANGUAGES/FILENAME_DEFAULT' (include_path='') in /home/x/x/xxxxxxx/public_html/catalog/index.php on line 33<br>Can someone help me please? Cheers Quote
safoo Posted May 20, 2004 Posted May 20, 2004 Look in application_top.php around line 256...did you make any changes around there? a missing semicolon on like 255 maybe? Also, make sure there are no extra spaces or lines after the last ?> at the bottom of the file. If everything seems correct, then check in your includes/configure.php and make sure DIR_WS_LANGUAGES and FILENAME_DEFAULT are correctly defined there. Again, check for spaces and lines at the bottom after the last ?>. Your cart shouldn't just break on its own, unless you made changes around there. You could always load your backup files, make sure everything works and then try to install again. Quote
Guest Posted May 20, 2004 Posted May 20, 2004 I added // begin PayPal_Shopping_Cart_IPN ???require_once DIR_WS_MODULES . 'payment/paypal/functions.php'; ???paypal_check_order_status(); // end PayPal_Shopping_Cart_IPN <br> to line 255 in "application_top.php", this seems to be ok, right? I haven't touched "public_html/catalog/index.php on line 33" at all. I can't find"DIR_WS_LANGUAGES/FILENAME_DEFAULT" in the includes/configure.php only this "define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');" Any ideas?!? Quote
safoo Posted May 20, 2004 Posted May 20, 2004 (edited) try the require statement as: require_once (DIR_WS_MODULES . 'payment/paypal/functions.php'); I don't think that should be the problem but theres no harm in trying. However, I see in your code there is a "<br>" in there which shouldnt be there. This leads me to believe that you copied and pasted the changes from the install.html files. Sometimes when copying and pasting from html, you get extra html tags, spaces, and other extraneous information instead of just text. I suggest going through all the lines of code where you copied and pasted from the included html file to see what is actually there. // begin PayPal_Shopping_Cart_IPN require_once DIR_WS_MODULES . 'payment/paypal/functions.php'; paypal_check_order_status(); // end PayPal_Shopping_Cart_IPN <br> I don't think there should be a <br> there correct? Edited May 20, 2004 by safoo Quote
Guest Posted May 22, 2004 Posted May 22, 2004 The "<br>" is not in the script, i typed it in this forum, my mistake. Still can't figure this out. Has anyone else had this problem? Would it be easier to just start from scratch do you think? With a new install of Os? Quote
Guest Posted May 23, 2004 Posted May 23, 2004 Sorted that out, the brackets were missing and some extra spaces. Next problem I have discovered is this. When I do a test order and look at the order via admin, the customers details are not there, all the items ordered are but no name email etc..?I do have some symbols on the page they look like a y with an apostrophie above it. Any ideas? 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.