Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Review Submitted Redirect


chimol

Recommended Posts

Hello again all,

 

Well, I have the reveiw system working and now I'm working on the redirect. When I change the /catalog/product_review_write.php and the /catalog/includes/filenames.php I come up with a error at the top of the main page when I type in www.chimecolleciton.com...something like /catalog/includes/error in line 3 or something like that.

 

Can someone take a look at my code and add the appropriate code to this and make it work?

Thanks

 

This is the mod by author 420. I just can't seem to add this in correctly (which is where I think my problem is)

 

 

// BEGIN review notice

define('FILENAME_REVIEW_NOTICE', 'review_notice.php');

// END review notice

<?php

 

/*

 

$Id: filenames.php,v 1.4 2003/06/11 17:38:00 hpdl Exp $

 

 

 

osCommerce, Open Source E-Commerce Solutions

 

http://www.oscommerce.com

 

 

 

Copyright © 2003 osCommerce

 

 

 

Released under the GNU General Public License

 

*/

 

 

 

// define the filenames used in the project

 

define('FILENAME_ACCOUNT', 'account.php');

 

define('FILENAME_ACCOUNT_EDIT', 'account_edit.php');

 

define('FILENAME_ACCOUNT_HISTORY', 'account_history.php');

 

define('FILENAME_ACCOUNT_HISTORY_INFO', 'account_history_info.php');

 

define('FILENAME_ACCOUNT_NEWSLETTERS', 'account_newsletters.php');

 

define('FILENAME_ACCOUNT_NOTIFICATIONS', 'account_notifications.php');

 

define('FILENAME_ACCOUNT_PASSWORD', 'account_password.php');

 

define('FILENAME_ADDRESS_BOOK', 'address_book.php');

 

define('FILENAME_ADDRESS_BOOK_PROCESS', 'address_book_process.php');

 

define('FILENAME_ADVANCED_SEARCH', 'advanced_search.php');

 

define('FILENAME_ADVANCED_SEARCH_RESULT', 'advanced_search_result.php');

 

define('FILENAME_ALSO_PURCHASED_PRODUCTS', 'also_purchased_products.php');

 

define('FILENAME_CHECKOUT_CONFIRMATION', 'checkout_confirmation.php');

 

define('FILENAME_CHECKOUT_PAYMENT', 'checkout_payment.php');

 

define('FILENAME_CHECKOUT_PAYMENT_ADDRESS', 'checkout_payment_address.php');

 

define('FILENAME_CHECKOUT_PROCESS', 'checkout_process.php');

 

define('FILENAME_CHECKOUT_SHIPPING', 'checkout_shipping.php');

 

define('FILENAME_CHECKOUT_SHIPPING_ADDRESS', 'checkout_shipping_address.php');

 

define('FILENAME_CHECKOUT_SUCCESS', 'checkout_success.php');

 

define('FILENAME_CONTACT_US', 'contact_us.php');

 

define('FILENAME_CONDITIONS', 'conditions.php');

 

define('FILENAME_COOKIE_USAGE', 'cookie_usage.php');

 

define('FILENAME_CREATE_ACCOUNT', 'create_account.php');

 

define('FILENAME_CREATE_ACCOUNT_SUCCESS', 'create_account_success.php');

 

define('FILENAME_DEFAULT', 'index.php');

 

define('FILENAME_DOWNLOAD', 'download.php');

 

define('FILENAME_INFO_SHOPPING_CART', 'info_shopping_cart.php');

 

define('FILENAME_LOGIN', 'login.php');

 

define('FILENAME_LOGOFF', 'logoff.php');

 

define('FILENAME_NEW_PRODUCTS', 'new_products.php');

 

define('FILENAME_PASSWORD_FORGOTTEN', 'password_forgotten.php');

 

define('FILENAME_POPUP_IMAGE', 'popup_image.php');

 

define('FILENAME_POPUP_SEARCH_HELP', 'popup_search_help.php');

 

define('FILENAME_PRIVACY', 'privacy.php');

 

define('FILENAME_PRODUCT_INFO', 'product_info.php');

 

define('FILENAME_PRODUCT_LISTING', 'product_listing.php');

 

define('FILENAME_PRODUCT_REVIEWS', 'product_reviews.php');

 

define('FILENAME_PRODUCT_REVIEWS_INFO', 'product_reviews_info.php');

 

define('FILENAME_PRODUCT_REVIEWS_WRITE', 'product_reviews_write.php');

// BEGIN review notice

define('FILENAME_REVIEW_NOTICE', 'review_notice.php');

// END review notice

define('FILENAME_ACCOUNT', 'account.php');

 

define('FILENAME_ACCOUNT_EDIT', 'account_edit.php');

 

define('FILENAME_ACCOUNT_HISTORY', 'account_history.php');

 

define('FILENAME_ACCOUNT_HISTORY_INFO', 'account_history_info.php');

 

define('FILENAME_ACCOUNT_NEWSLETTERS', 'account_newsletters.php');

 

define('FILENAME_ACCOUNT_NOTIFICATIONS', 'account_notifications.php');

 

define('FILENAME_ACCOUNT_PASSWORD', 'account_password.php');

 

define('FILENAME_ADDRESS_BOOK', 'address_book.php');

 

define('FILENAME_ADDRESS_BOOK_PROCESS', 'address_book_process.php');

 

define('FILENAME_ADVANCED_SEARCH', 'advanced_search.php');

 

define('FILENAME_ADVANCED_SEARCH_RESULT', 'advanced_search_result.php');

 

define('FILENAME_ALSO_PURCHASED_PRODUCTS', 'also_purchased_products.php');

 

define('FILENAME_CHECKOUT_CONFIRMATION', 'checkout_confirmation.php');

 

define('FILENAME_CHECKOUT_PAYMENT', 'checkout_payment.php');

 

define('FILENAME_CHECKOUT_PAYMENT_ADDRESS', 'checkout_payment_address.php');

 

define('FILENAME_CHECKOUT_PROCESS', 'checkout_process.php');

 

define('FILENAME_CHECKOUT_SHIPPING', 'checkout_shipping.php');

 

define('FILENAME_CHECKOUT_SHIPPING_ADDRESS', 'checkout_shipping_address.php');

 

define('FILENAME_CHECKOUT_SUCCESS', 'checkout_success.php');

 

define('FILENAME_CONTACT_US', 'contact_us.php');

 

define('FILENAME_CONDITIONS', 'conditions.php');

 

define('FILENAME_COOKIE_USAGE', 'cookie_usage.php');

 

define('FILENAME_CREATE_ACCOUNT', 'create_account.php');

 

define('FILENAME_CREATE_ACCOUNT_SUCCESS', 'create_account_success.php');

 

define('FILENAME_DEFAULT', 'index.php');

 

define('FILENAME_DOWNLOAD', 'download.php');

 

define('FILENAME_INFO_SHOPPING_CART', 'info_shopping_cart.php');

 

define('FILENAME_LOGIN', 'login.php');

 

define('FILENAME_LOGOFF', 'logoff.php');

 

define('FILENAME_NEW_PRODUCTS', 'new_products.php');

 

define('FILENAME_PASSWORD_FORGOTTEN', 'password_forgotten.php');

 

define('FILENAME_POPUP_IMAGE', 'popup_image.php');

 

define('FILENAME_POPUP_SEARCH_HELP', 'popup_search_help.php');

 

define('FILENAME_PRIVACY', 'privacy.php');

 

define('FILENAME_PRODUCT_INFO', 'product_info.php');

 

define('FILENAME_PRODUCT_LISTING', 'product_listing.php');

 

define('FILENAME_PRODUCT_REVIEWS', 'product_reviews.php');

 

define('FILENAME_PRODUCT_REVIEWS_INFO', 'product_reviews_info.php');

 

define('FILENAME_PRODUCT_REVIEWS_WRITE', 'product_reviews_write.php');

 

define('FILENAME_PRODUCTS_NEW', 'products_new.php');

 

define('FILENAME_REDIRECT', 'redirect.php');

 

define('FILENAME_REVIEWS', 'reviews.php');

 

define('FILENAME_SHIPPING', 'shipping.php');

 

define('FILENAME_SHOPPING_CART', 'shopping_cart.php');

 

define('FILENAME_SPECIALS', 'specials.php');

 

define('FILENAME_SSL_CHECK', 'ssl_check.php');

 

define('FILENAME_TELL_A_FRIEND', 'tell_a_friend.php');

 

define('FILENAME_UPCOMING_PRODUCTS', 'upcoming_products.php');

 

 

 

define('FILENAME_CHECKOUT_PAYPALIPN', 'checkout_paypalipn.php'); // PAYPALIPN

 

?>

 

 

 

define('FILENAME_PRODUCTS_NEW', 'products_new.php');

 

define('FILENAME_REDIRECT', 'redirect.php');

 

define('FILENAME_REVIEWS', 'reviews.php');

 

define('FILENAME_SHIPPING', 'shipping.php');

 

define('FILENAME_SHOPPING_CART', 'shopping_cart.php');

 

define('FILENAME_SPECIALS', 'specials.php');

 

define('FILENAME_SSL_CHECK', 'ssl_check.php');

 

define('FILENAME_TELL_A_FRIEND', 'tell_a_friend.php');

 

define('FILENAME_UPCOMING_PRODUCTS', 'upcoming_products.php');

 

 

 

define('FILENAME_CHECKOUT_PAYPALIPN', 'checkout_paypalipn.php'); // PAYPALIPN

 

?>

Steve

I appreciate all the help that everyone on this site has given me!

Link to comment
Share on other sites

Hi:

 

Looks to me like you've got duplicated code in /catalog/includes/filenames.php--you've added more than

 

  // BEGIN review notice
 define('FILENAME_REVIEW_NOTICE', 'review_notice.php');
 // END review notice

 

In my file, the next line after the above is

 

  define('FILENAME_PRODUCTS_NEW', 'products_new.php');

 

NOT (as in your code above)

 

  define('FILENAME_ACCOUNT', 'account.php');

 

Also, you only want to have one "?>"

 

Cheers.

"Buy the ticket, take the ride..." -HST

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...