Results 1 to 3 of 3

define mainpage.php error - entire site went down

This is a discussion on define mainpage.php error - entire site went down within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Yikes. I tried to update my mainpage text using "define mainpage" from admin menu. I clicked update when I was ...

      
  1. #1
    New Member
    Join Date
    Dec 2003
    Posts
    5
    Rep Power
    0


    Default define mainpage.php error - entire site went down

    Yikes.

    I tried to update my mainpage text using "define mainpage" from admin menu. I clicked update when I was through and I got error

    Define MainPage

    TEXT_FILE_DOES_NOT_EXIST

    Then I tried to refresh my site and I got:

    Fatal error: Call to undefined function: tep_image() in /home/dixiemm/public_html/shop/index.php on line 13

    There was one other line error but I added:

    define('FILENAME_DEFINE_MAINPAGE', 'define_mainpage.php'); // DEFINE MAINPAGE

    That I saw in another forum mentioning this problem. That fix did not work. I searched osc main forums and these and I can't find a fix. Does anyone know what I can do to atleast get it back to the default text?

    I am using 1.5.5 (latest update) I am pretty well screwed right now.

    Thanks in advance!

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

    Just replace it with the original and start over.

    I have not ever had a problem with it. Just try again. You can always manually edit that file if you are having problems with the wysiwyg editor...
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Dec 2003
    Posts
    5
    Rep Power
    0


    Default

    Thanks msasek - I did just that. Now the thing works... the only thing I can think of AND I am about to test it out is that something in 1.5.5 makes the wysiwyg not work... I started ALL over ~ yuck ~ but I have not upgraded yet. I will upgrade and post here again to see if that issue shows up again.

    Thanks.

Similar Threads

  1. Define MainPage in Admin
    By daffodil in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 07-24-2005, 10:21 AM
  2. Define Mainpage
    By Chippy in forum osCmax v1.7 Discussion
    Replies: 4
    Last Post: 03-15-2005, 10:56 AM
  3. How to use define mainpage? lost and need help
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 07-02-2004, 12:45 AM
  4. define mainpage
    By jloyzaga in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 01-19-2004, 11:44 AM
  5. define Mainpage pb ssl and nonssl
    By Gyakutsuki in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 09-30-2003, 10:42 AM

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
  •