Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Mar 2008
    Location
    Gouda, Netherlands
    Posts
    213
    Plugin Contributions
    1

    Default Error after installing a mod

    Hi,

    I've tried to install the out to date mod ship2pay. Unfortunatly I can't switch to the english language in the admin section now. The report I get is

    Warning: require(includes/languages/english/header.php) [function.require]: failed to open stream: No such file or directory in /www/htdocs/wwadmine/http/admin/includes/languages/english.php on line 647

    Fatal error: require() [function.require]: Failed opening required 'includes/languages/english/header.php' (include_path='.:/usr/share/php:/usr/share/pear') in /www/htdocs/wwadmine/http/admin/includes/languages/english.php on line 647


    Line 647 says
    require(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . $template_dir_select . FILENAME_HEADER)

    Can someone please help me. The header.php file is present, but I don't really understand the error.

    Thank you tons in advance,

    Juliet van Ree
    Working on http://www.skull-shop.net once again.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Error after installing a mod

    Was this module ONLY file based with no sql patch?

    Or was there a sql patch that you also had to insert?

    If a sql patch - Did you make a DB backup before attempting this install?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Mar 2008
    Location
    Gouda, Netherlands
    Posts
    213
    Plugin Contributions
    1

    Default Re: Error after installing a mod

    It was with a sql patch.... and stupid enough I did not make a db back up

    This is the patch

    CREATE TABLE `ship2pay` (
    `s2p_id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
    `shipment` VARCHAR( 100 ) NOT NULL ,
    `payments_allowed` VARCHAR( 250 ) NOT NULL ,
    `status` TINYINT NOT NULL
    );
    Working on http://www.skull-shop.net once again.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Error after installing a mod

    Are you sure that this is all that you have altered?

    If so, first delete each file that the mod included - noting if there was any "CORE" files overritten and if so you will need to replace these with ones from a downloaded default distribution.

    Backup your DB before proceeding - - -

    Then using your DB manager(phpmyadmin for many) find the ship2pay table and "DROP" /delete it.

    If this is all that has been done this should square you away
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Mar 2008
    Location
    Gouda, Netherlands
    Posts
    213
    Plugin Contributions
    1

    Default Re: Error after installing a mod

    Thank you for your help Kobra!!! I'll make sure to back up the db in the future!

    I'm going to check out the solution tomorrow as it is pretty late on this side of the ocean. Thank you tons!!!
    Working on http://www.skull-shop.net once again.

  6. #6
    Join Date
    Mar 2008
    Location
    Gouda, Netherlands
    Posts
    213
    Plugin Contributions
    1

    Default Re: Error after installing a mod

    Sorry it took me a while to get back on this. Unfortunatly the error causing this wasn't resolved by dropping the table.

    I had to keep two files that were overwritten because I think the maybe essential. The files:
    - /admin/includes/classes/payment.php
    - /admin/includes/classes/shipping.php

    Can anyone tell me if this has anything to do with me not being able to call the english admin? The error I get is
    Warning: require(includes/languages/english/header.php) [function.require]: failed to open stream: No such file or directory in /www/htdocs/wwadmine/http/admin/includes/languages/english.php on line 647

    Fatal error: require() [function.require]: Failed opening required 'includes/languages/english/header.php' (include_path='.:/usr/share/php:/usr/share/pear') in /www/htdocs/wwadmine/http/admin/includes/languages/english.php on line 647


    Line 647 says
    require(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . $template_dir_select . FILENAME_HEADER)
    Working on http://www.skull-shop.net once again.

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Error after installing a mod

    It is not in the second file but where it begins -

    includes/languages/english/header.php

    Try replacing this file with a fresh one from an expanded distribution of the same version as you have loaded
    Zen-Venom Get Bitten

  8. #8
    Join Date
    Mar 2008
    Location
    Gouda, Netherlands
    Posts
    213
    Plugin Contributions
    1

    Default Re: Error after installing a mod

    Thank you Kobra, I'm going to try it straight away!
    Working on http://www.skull-shop.net once again.

  9. #9
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Error after installing a mod

    After, it may spawn another error message - but tracking them one by one is where you are now...

    Remember to do a backup of files and the DB in the future
    Zen-Venom Get Bitten

  10. #10
    Join Date
    Mar 2008
    Location
    Gouda, Netherlands
    Posts
    213
    Plugin Contributions
    1

    Default Re: Error after installing a mod

    Yes, I will never forget to make a back up again I think. Lol... well at least I gained a lesson from it!
    Working on http://www.skull-shop.net once again.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Fatal Error After installing Cross Sell - Just Another Cross Sell Mod
    By kconklin in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 9 Jul 2010, 02:38 PM
  2. Duplicate Orders after installing abandon cart mod
    By cshart in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 11 Dec 2009, 04:25 PM
  3. My logo disapeared after installing mod - COWOA
    By fredsjo in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 30 Jun 2009, 02:52 PM
  4. Error after installing paypal express mod
    By bmpt in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 14 Jan 2008, 03:52 AM
  5. After installing account holder mod
    By sburke in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 20 Aug 2007, 02:42 PM

Posting Permissions

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