Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

hi ther i have a problem with define mainpage contrib since i moved from a vds to a dedicated server last night.

 

The main page is working great for the site index but if i go and try to edit it I get TEXT_FILE_DOES_NOT_EXIST errors.

 

I have checked that all the files are there (they all are)

 

I ahve changed the define('DIR_FS_CATALOG', to show the correct root "public_html/" but i still get the TEXT_FILE_DOES_NOT_EXIST error.

 

I have done a full search and tryed all the fixes that max dvd recommended. e.g. the ones above and the file permissions fix.

 

im fresh out of ideas.

 

any help would be wonderfull please.

 

thank you all in advance.

 

dasonix

  • 5 months later...
Posted
hi ther i have a problem with define mainpage contrib since i moved from a vds to a dedicated server last night.

 

The main page is working great for the site index but if i go and try to edit it I get TEXT_FILE_DOES_NOT_EXIST errors.

 

I have checked that all the files are there (they all are)

 

I ahve changed the define('DIR_FS_CATALOG', to show the correct root "public_html/" but i still get the TEXT_FILE_DOES_NOT_EXIST error.

 

I have done a full search and tryed all the fixes that max dvd recommended. e.g. the ones above and the file permissions fix.

 

im fresh out of ideas.

 

any help would be wonderfull please.

 

thank you all in advance.

 

dasonix

 

Hi Dasonix,

 

I just installed it and got the same error. In checking the define_mainpage.php in /catalog/admin/ I saw an error on line 42:

 

$HTTP_GET_VARS['filename'] = 'mainpage.php';

 

should be

 

$HTTP_GET_VARS['filename'] = 'define_mainpage.php';

 

Then you get the correct link opening and see a 'first time message'.

Hope this helps you.

 

Conrad

  • 2 months later...
  • 1 year later...
Posted
I had the same problem, thanx for the simple solution! Everything works fine now.

 

This fix worked for me for one of the catalogs I have- but the other which was having the identical problem, did something weird. Once I put this fix in, I got the following error:

 

Fatal error: Cannot instantiate non-existent class: infoboxheading in /home/mysite/public_html/store/admin/includes/languages/english/define_mainpage.php on line 47

 

 

Any ideas what could be causing this?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...