Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Posts
    31
    Plugin Contributions
    0

    Default Cant access Admin after installinf worldpay mod

    Hi Guys. I was so near yet so far.

    I have installled the Worldpay Mod on my Zen Cart 1.3.8. Here is the link
    http://www.mirrors4home.co.uk. As you can see all seems to work fine. But if I want to access the admin at http://www.mirrors4home.co.uk/admin I get the following error:
    Fatal error: Call to undefined function: zen_db_input() in /home/sites/mirrors4home.co.uk/public_html/includes/functions/sessions.php on line 38

    Fatal Error doesnt sound good. Any help please before I throw myself off a bridge...

    Regards

    Martin

  2. #2
    Join Date
    Jan 2009
    Posts
    31
    Plugin Contributions
    0

    Default Cant log in to Admin

    Hi Guys. I was so near yet so far.

    I have installled the Worldpay Mod on my Zen Cart 1.3.8. Here is the link
    http://www.mirrors4home.co.uk. As you can see all seems to work fine. But if I want to access the admin at http://www.mirrors4home.co.uk/admin I get the following error:
    Fatal error: Call to undefined function: zen_db_input() in /home/sites/mirrors4home.co.uk/public_html/includes/functions/sessions.php on line 38

    Fatal Error doesnt sound good. Any help please before I throw myself off a bridge...

    Regards

    Martin

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Cant access Admin after installinf worldpay mod

    Prior to installing worldpay, was everything working OK... ?

    At what POINT did this error occur... Were you able to access admin immediately after installing worldpay.

    (Don't go bridge hunting just yet... while FATAL seems to infer that "all is lost", these errors are usually fixed quite simply. The error itself gives good clues as to where the problem lies - in your case, it seems to be unable to create a session ID for an admin login attempt.

    Did you MOVE your site to a new folder or server recently?
    20 years a Zencart User

  4. #4
    Join Date
    Jan 2009
    Posts
    31
    Plugin Contributions
    0

    Default Re: Cant access Admin after installinf worldpay mod

    Thanks for your reply.

    Everything was fine prior to installing Worldpay. Heres what I did;

    1. I downloaded the Worldpay mod.
    2. Read the install file.
    3. Copied the files to the relevent folders
    4. Uploaded them to the server
    5. Went to www.mirrors4home.co.uk/admin and was presented with the fatal Error.

    I couldnt access admin after installing worldpay

    I havent changed server

  5. #5
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Cant access Admin after installinf worldpay mod

    On your hard drive, open the worldpay module to see what files it contains. It is likely that the module may have over-written some of the core modules.

    Via your FTP program, you must now REMOVE all the worldpay files, and if these files REPLACED a core file, then you must re-instate the core file.

    Look also at the possibility that you initially FTP'd worldpay files to the wrong place(s).

    In short, you are going to have to UNDO the upload of that module.

    I don't know if the module made any changes to the database (probably not as all you have done thus far is FTP the files to the server - dbase changes only normally happen with payment modules when you INSTALL the module via the admin panel - which you can't access yet).
    20 years a Zencart User

  6. #6
    Join Date
    Jan 2009
    Posts
    31
    Plugin Contributions
    0

    Default Re: Cant access Admin after installinf worldpay mod

    Thanks for that. I will have a go and keep you informed.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Cant log in to Admin

    You've probably somehow deleted or damaged the /admin/includes/functions/database.php file.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Cant access Admin after installinf worldpay mod

    Do as DrByte suggests - FTP the database.php file to the server.

    If this doesn't work, you may have to resort to uploading the entire admin folder again (via FTP).

    Bear in mind that doing a complete re-upload, you will may well lose functionality of any additional admin modules you have installed previously - and possibly some shop-side modules too.

    You will also overwrite important files, like configure.php (the one in admin/includes).

    Remember, this problem is only with your ADMIN functions - your store is still OK - so the problem exists ONLY with a file (or files) in your admin folder.

    I suggest you do this, if DrByte's suggestion does not work.

    1. Write down any additional modules you have installed.
    2. Check to see if these added modules necessitated modifications to the database. If so, make sure you know how to undo these (probably via a sql command). You may not have to undo anything - so don't undertake this process unnecessarily.
    3. FTP the CURRENT admin folder, from the server, back to your hard drive. AND make another backup elsewhere - on another sub-folder on your server is OK.
    4. Over-write the entire admin folder via FTP, from a clean copy of the same version.
    20 years a Zencart User

  9. #9
    Join Date
    Jan 2009
    Posts
    31
    Plugin Contributions
    0

    Default Re: Cant access Admin after installinf worldpay mod



    You little beauties. Woooohoooooooo



    Maybe a little too far. lol.

    I uploaded the original database.php file and everything was back to normal.

    Thanks for all your help guys. It just goes to show. Theres no need to panic with a professional forum and support like this.

    Thanks again

  10. #10
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Cant access Admin after installinf worldpay mod

    Great news...

    I hope your business now prospers. With ZC, you're well on the way to achieving that.
    20 years a Zencart User

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Cant Access my Admin Page after restoring from backup
    By nelly7 in forum General Questions
    Replies: 8
    Last Post: 20 Jun 2014, 09:18 AM
  2. cant access the admin area after install
    By wotnow in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 18 Oct 2011, 05:30 AM
  3. Cant access admin after 1.3.9c upgrade
    By billett in forum Upgrading from 1.3.x to 1.3.9
    Replies: 6
    Last Post: 10 Jun 2010, 08:35 AM
  4. cant access admin area after changing domain
    By spikeycactus in forum Customization from the Admin
    Replies: 2
    Last Post: 19 Dec 2008, 12:14 AM
  5. can't access Admin anymore after uninstalling SEO mod
    By lieven23 in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 26 Sep 2008, 09:50 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