osCmax v2.5 User Manual
Results 1 to 4 of 4

restore define_mainpage.php

This is a discussion on restore define_mainpage.php within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; Working in the source code of define_mainpage.php I must have made an error in coding. Now I cannot access the ...

      
  1. #1
    Lurker
    Join Date
    Jan 2011
    Posts
    2
    Rep Power
    0


    Default restore define_mainpage.php

    Working in the source code of define_mainpage.php I must have made an error in coding. Now I cannot access the define_mainpage.php page. All I get is a blank screen with the save and cancel buttons. The index page of the site is still intact and the code behind it doesn't appear to have any errors or changes I made when the error occurred. I have a copy of all the files, but I don't know where I would upload a replacement file, nor am I positive which file I need to replace. This is urgent and I'd appreciate any help anyone can offer.

    Thanks,
    Lanore

  2. #2
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Default Re: restore define_mainpage.php

    Using phpmyadmin, edit the data in the information table.
    Alternatively, restore your database.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  3. #3
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: restore define_mainpage.php

    Since it sounds like the catalog side is still working then I would assume that your code changes are at fault.

    Simply overwrite the define_mainpage.php file with the backup.

    Regards,
    pgmarshall
    _______________________________

  4. #4
    Lurker
    Join Date
    Jan 2011
    Posts
    2
    Rep Power
    0


    Default Re: restore define_mainpage.php

    Pretty simple, just replace the mainpage.php file under catalog\includes\languages\english\mainpage.php. That fixed it.

Similar Threads

  1. Restore Database with Browser
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 03-06-2011, 11:00 AM
  2. define_mainpage.php initially loads blank
    By blackhawk in forum osCmax v2 Installation issues
    Replies: 3
    Last Post: 12-03-2009, 03:12 PM
  3. Urgent Help required Please. Need to restore.
    By RoyceK in forum osCmax v1.7 Discussion
    Replies: 6
    Last Post: 07-25-2006, 07:26 AM
  4. Backup restore problems
    By hamnebo in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 11-30-2004, 10:38 AM
  5. Porblem in define_mainpage.php - main page settings
    By Roy_Shiker in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 08-11-2004, 10:36 AM

Tags for this Thread

Bookmarks

Posting Permissions

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