Results 1 to 5 of 5

Thread: Serious Problem - Missing file

  1. #1
    Junior Member DamienDarwick's Avatar
    Join Date
    Apr 2010
    Posts
    17
    Thanks
    2
    Thanked 94 Times in 17 Posts

    Default Serious Problem - Missing file

    I get this error message when trying to check out in my store. The file is missing in the download!

    Code:
    Warning: require_once(./packages/shop/express.php) [function.require-once]: failed to open stream: No such file or directory in [path]/osc_express.php on line 52
    
    Fatal error: require_once() [function.require]: Failed opening required './packages/shop/express.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sicfuck1/public_html/adultsexydesigns.com/forums/osc_express.php on line 52
    Please send me the file!

  2. The Following 8 Users Say Thank You to DamienDarwick For This Useful Post:

    asricksclesc (13-06-2013),aupeteeactea (07-12-2012),ciojennacgalac (18-12-2012),hersamuchpeich (29-09-2013),itojessosaspos (23-11-2012),kescotekosek (02-10-2013),lrybuywejewe (13-08-2013),nbrregiordthor (16-12-2012)

  3. #2
    Developer Greystoke's Avatar
    Join Date
    Mar 2010
    Posts
    187
    Thanks
    2
    Thanked 499 Times in 113 Posts

    Default

    Hi,

    Sorry about this.

    Please edit /osc_express.php line 52:

    Change

    PHP Code:
    require_once('./packages/shop/' $shopfile '.php'); 
    To

    PHP Code:
    require_once('./packages/shop/ext/modules/payment/paypal/' $shopfile '.php'); 

    Please edit /osc_express_payflow.php line 52:

    Change

    PHP Code:
    require_once('./packages/shop/' $shopfile '.php'); 
    To

    PHP Code:
    require_once('./packages/shop/ext/modules/payment/paypal/' $shopfile '.php'); 
    Please let me know if this fixes the problem.

  4. The Following 9 Users Say Thank You to Greystoke For This Useful Post:

    asricksclesc (13-06-2013),aupeteeactea (07-12-2012),ciojennacgalac (18-12-2012),DamienDarwick (25-06-2010),hersamuchpeich (29-09-2013),itojessosaspos (23-11-2012),kescotekosek (02-10-2013),lrybuywejewe (13-08-2013),nbrregiordthor (16-12-2012)

  5. #3
    Junior Member DamienDarwick's Avatar
    Join Date
    Apr 2010
    Posts
    17
    Thanks
    2
    Thanked 94 Times in 17 Posts

    Default

    Thanks that solved that problem but has made it where I cannot edit the Paypal Express Checkout in the Payment Modules. I cannot set it to true for using it as the option. I cannot set the proper paypal email address or anything.

  6. The Following 8 Users Say Thank You to DamienDarwick For This Useful Post:

    asricksclesc (13-06-2013),aupeteeactea (07-12-2012),ciojennacgalac (18-12-2012),hersamuchpeich (29-09-2013),itojessosaspos (23-11-2012),kescotekosek (02-10-2013),lrybuywejewe (13-08-2013),nbrregiordthor (16-12-2012)

  7. #4
    Developer Greystoke's Avatar
    Join Date
    Mar 2010
    Posts
    187
    Thanks
    2
    Thanked 499 Times in 113 Posts

    Default

    Do you mean when you click the option True and then click save, it doesn't remember the option.

    If so, there is a known issue with this happening on some server with the standard osCommerce installation.

    If you add this line to your shop/admin/modules.php it should fix the problem.

    After adding the fix, uninstall and then re-install any of the shipping and payment modules that you have installed, in the modules admin section of the shop.

    Find this around line 57:

    PHP Code:
            while (list($key$value) = each($HTTP_POST_VARS['configuration'])) {
              
    tep_db_query("update " TABLE_CONFIGURATION " set configuration_value = '" $value "' where configuration_key = '" $key "'");
            }
            
    tep_redirect(tep_href_link(FILENAME_MODULES'set=' $set '&module=' $HTTP_GET_VARS['module']));
            break;
          case 
    'install'
    Add this before the above code:

    PHP Code:
          reset($_POST['configuration']); 
    It should now look like this:

    PHP Code:
          case 'save':
          
    reset($_POST['configuration']);
            while (list(
    $key$value) = each($HTTP_POST_VARS['configuration'])) {
              
    tep_db_query("update " TABLE_CONFIGURATION " set configuration_value = '" $value "' where configuration_key = '" $key "'");
            }
            
    tep_redirect(tep_href_link(FILENAME_MODULES'set=' $set '&module=' $HTTP_GET_VARS['module']));
            break;
          case 
    'install'

  8. The Following 9 Users Say Thank You to Greystoke For This Useful Post:

    asricksclesc (13-06-2013),aupeteeactea (07-12-2012),ciojennacgalac (18-12-2012),DamienDarwick (01-07-2010),hersamuchpeich (29-09-2013),itojessosaspos (23-11-2012),kescotekosek (02-10-2013),lrybuywejewe (13-08-2013),nbrregiordthor (16-12-2012)

  9. #5
    Junior Member DamienDarwick's Avatar
    Join Date
    Apr 2010
    Posts
    17
    Thanks
    2
    Thanked 94 Times in 17 Posts

    Default

    That worked thanks

  10. The Following 8 Users Say Thank You to DamienDarwick For This Useful Post:

    asricksclesc (13-06-2013),aupeteeactea (07-12-2012),ciojennacgalac (18-12-2012),hersamuchpeich (29-09-2013),itojessosaspos (23-11-2012),kescotekosek (02-10-2013),lrybuywejewe (13-08-2013),nbrregiordthor (16-12-2012)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •