chrometweaks.org

Can you buy a DOMAIN without a iPage web host? ?

Click Here To View All Answers...


First question I have is Can you buy a DOMAIN without a iPage web host? ? Thanks for any response. My other question... I have downloaded the Meta Tag Controller and want to set it up, but as a newbie to osCommerce, I have problems locating folders and files when directions do not include a full path to them. As an additional handicap, I am pretty familiar with HTML but php is totally new to me..

The autoinstall_readme.txt file includes this text:.

- Copy all of the files (not directories) from your shops catalog.

Directory to the autoinstall directory (don't create a new directory).

The only catalog directory I can find is in the httpdocs directory (www.whatever/httpdocs/catalog). In that catalog directory, I have only one file, .htaccess, which has something to do with Apache Webserver so I don't believe I'm looking in the right place. What is the full path to the catalog directory that I need to find?.

Then the instructions in the readme go on to say:.

- Copy the includes/application_top.php file from your shop into the.

Autoinstall directory..

Is this referring to www.whatever/httpdocs/includes? Just want to make sure that I'm geting the right file. Like I said, these partial paths are terribly confusing to me because I just don't know my way around yet. I want to make sure I have the correct info now, rather then having to post again as soon as I get to the next step in the readme..

Also in README to Admin.txt, what is the full path to admin/includes/function/general.php ? Where do I find admin?.

Thanks much for any help you can provide. I'll learn, I'm not dumb, just ignorant of the way things work with osCommerce and php...

Comments (30)

Of course! although you might wanna make sure and wait for another commenter to confirm this as I am unsure. Better yet, why don't you ask the iPage guys because they can answer your iPage question better...

Comment #1

All of the paths mentioned are in reference to the oscommerce package. I'm assuming you have a running iPage site right now. If it is a standard install, you will open your browser and go to it by typing in something like.

Http://www.mysite.com/catalog.

That catalog on the end of the url refers to the directory on your server that holds your shops files and is the directory being referred to in the directions. If you look in that directory, you will see other directories, like admin. This is the admin the instructions are referring to. If you don't have a working site, then you are getting ahead of yourself with this (any) contribution..

Jack..

Comment #2

John, I wrote those instructions and I have to disagree with you. I'm assuming you are guessing at what you said because of the word "autoinstall." That is a script I added to the Header Tags Controller contribution to try and make all of the file changes easier. Now, I haven't gone through all of the available contributions but I am pretty sure none of them say, "Be sure to install your shop first.".

Some things are just assumed..

Jack..

Comment #3

I have just tried to install this contibution on my test iPage site before adding it to my main iPage site and my catalog will not work now, it just returns a blank page when you navigate to it and the log in page for the admin section is also screwed.

It comes up with the following error:.

Fatal error: Call to undefined function: tep_admin_check_login() in /www.itexpress.co.uk/catalog/admin/includes/application_top.php on line 213.

Please advise.

This post has been edited by.

CBRman.

: 02 November 2004, 11:42..

Comment #4

This question should be asked in the HTC suport thread in Contribution Support..

With that said, that function is not part of the HTC contribution. How did you install HTC? Manually or with the autoinstall script..

Jack..

Comment #5

I ran the auto install for the files in the main catalog folder and put the other files up as it said in the autoinstall readme..

But the autoinstall.exe would'nt work from command prompt but it worked fine when I double clicked it in windows if this helps..

Comment #6

Do you have the required editor sed installed? Did you look at the edited_files directory to make sure the changes were made? If they were, did you copy the files from there to your shop? If the script fails the files can be created as empty files. If you copy them to your shop at that point, your shop won't work..

Jack..

Comment #7

Where do I need to put the sed editor for it to work ? .

This post has been edited by.

CBRman.

: 03 November 2004, 11:23..

Comment #8

In the same directory the script is in. Should be the autoinstall directory..

Jack..

Comment #9

Ok now I try using the sed editor and it appears to have worked but I get the following error now when it try to goto the catalog.

"Parse error: parse error, unexpected T_REQUIRE in /www.itexpress.co.uk/catalog/includes/application_top.php on line 508".

And I'm still getting the same error when I goto the admin page.

Fatal error: Call to undefined function: tep_admin_check_login() in /www.itexpress.co.uk/catalog/admin/includes/application_top.php on line 213.

I have copied the new application_top.php as stated in the instructions.

Any ideas..

Comment #10

Download the application_top.php file from the link I sent you and compare it against yours to find the error. The autoinstall script has nothing to do with the admin section. Did you copy the application_top.php file to admin/includes? That would be wrong if you do..

Jack..

Comment #11

Jack, just wanted to let you know that I seem to have everything set up and working. Once I talked with the server folks and found out how their directory structure differed just a little from the norm, it went very well. Thanks for all of the help you provided. This won't be the last time I'll be posting in the forum looking for help, but like you said, it will get a little easier each time...

Comment #12

I installed it into the right place, will check and let you know..

Comment #13

I compared the file againt yours and made changes where needed but I'm still getting the error on the admin bit.

And the following in the catalog.

Warning: main(DIR_WS_BOX_TEMPLATESTEMPLATENAME_BOX): failed to open stream: No such file or directory in /www.itexpress.co.uk/catalog/includes/boxes/categories.php on line 155.

Fatal error: main(): Failed opening required 'DIR_WS_BOX_TEMPLATESTEMPLATENAME_BOX' (include_path='') in /www.itexpress.co.uk/catalog/includes/boxes/categories.php on line 155.

But now at least I can see the oscommerce logo and the my account buttons etc....

Comment #14

You've got a problem with some other contribution. That error is telling you that it can't find the define DIR_WS_BOX_TEMPLATESTEMPLATENAME_BOX, which I'm sure doesn't exist since it is not a name someone would actually use. From the looks of it, it might be coming from the BTS contribution. Do you use that one? Search your code for the above term and try to figure out the problem from there. It's not an HTC problem..

Jack..

Comment #15

I have downloaded the Meta Tag Controller and want to set it up, but as a newbie to osCommerce, I have problems locating folders and files when directions do not include a full path to them. As an additional handicap, I am pretty familiar with HTML but php is totally new to me..

The autoinstall_readme.txt file includes this text:.

- Copy all of the files (not directories) from your shops catalog.

Directory to the autoinstall directory (don't create a new directory).

The only catalog directory I can find is in the httpdocs directory (www.whatever/httpdocs/catalog). In that catalog directory, I have only one file, .htaccess, which has something to do with Apache Webserver so I don't believe I'm looking in the right place. What is the full path to the catalog directory that I need to find?.

Then the instructions in the readme go on to say:.

- Copy the includes/application_top.php file from your shop into the.

Autoinstall directory..

Is this referring to www.whatever/httpdocs/includes? Just want to make sure that I'm geting the right file. Like I said, these partial paths are terribly confusing to me because I just don't know my way around yet. I want to make sure I have the correct info now, rather then having to post again as soon as I get to the next step in the readme..

Also in README to Admin.txt, what is the full path to admin/includes/function/general.php ? Where do I find admin?.

Thanks much for any help you can provide. I'll learn, I'm not dumb, just ignorant of the way things work with osCommerce and php...

Comment #16

What this contribution is assuming is that you have not installed a store yet, thus needs to go into the oscommerce install directory..

Poorly writtenIMHO..

Anyway, install your store as normal and then merge the changes into the store, this way you can test the store without any contribituions making sure things work...

Comment #17


This question was taken from a support group/message board and re-posted here so others can learn from it.