Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

just downloaded .tar file now what?


derbytrader

Recommended Posts

Posted

my web page is hosted on a linux server so I have downloaded the linux version to my laptop. Not having a great understanding of linux, is this .tar file like a zip file and what do I do with it to expand it once I've moved if to my web space.

Posted
my web page is hosted on a linux server so I have downloaded the linux version to my laptop. Not having a great understanding of linux, is this .tar file like a zip file and what do I do with it to expand it once I've moved if to my web space.
Adrian,

You need to expand the file on your PC's hard drive first. Then, FTP the "catalog" folder to your web host. In a browser, go to the folder where you FTP'd the files and open the Install folder. Follow the instructions that come up in the browser.

I highly suggest that you follow Vger's Quick Install Guide posted in this forum to help you with all of the installation prompts.

The entire installation process should take 5 minutes or less.

Hope this helped,

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Posted

the linux and windows version, once untarred or unzipped are identical, thus download the zip version, extract then ftp to your site.

Posted
Adrian,

You need to expand the file on your PC's hard drive first. Then, FTP the "catalog" folder to your web host. In a browser, go to the folder where you FTP'd the files and open the Install folder. Follow the instructions that come up in the browser.

I highly suggest that you follow Vger's Quick Install Guide posted in this forum to help you with all of the installation prompts.

The entire installation process should take 5 minutes or less.

Hope this helped,

 

Thanks, I started the above quick install and all ok until I got to step 4 which said to go to mydomain/install when I got the message

 

FATAL ERROR: register_globals is disabled in php.ini, please enable it!

 

what's that supposed to mean?

Posted

It means your hosts has the register globals option turned off but the code wants it turned on. You either need to install the register globals contribution or add a command, via an .htaccess or php.ini file, the bypass the error. You can find many examples of the latter here on the forums by search for register globals.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted

Thanks for the advice, beginning to get ominous feelings of being out of depth, however will plug on for a while.

 

Anyway I've searched for register globals and downloaded a patch to my laptop. It's a file called .htaccess and has one line in it

php_flag register_globals on

 

what do I now do with this file, do I ftp it somewhere and if so where and then what, is that it?

Posted

Hi, what you need to dois connec to your site using FTP, in www/public_html folder you will find a file named .htaccess

 

Edit this file using a text editor so that the contents are:

 

# $Id: .htaccess,v 1.3 2003/06/12 10:53:20 hpdl Exp $
#
# This is used with Apache WebServers
#
# For this to work, you must include the parameter 'Options' to
# the AllowOverride configuration
#
# Example:
#
# <Directory "/usr/local/apache/htdocs">
#   AllowOverride Options
# </Directory>
#
# 'All' with also work. (This configuration is in the
# apache/conf/httpd.conf file)

# The following makes adjustments to the SSL protocol for Internet
# Explorer browsers

<IfModule mod_setenvif.c>
 <IfDefine SSL>
   SetEnvIf User-Agent ".*MSIE.*" \
            nokeepalive ssl-unclean-shutdown \
            downgrade-1.0 force-response-1.0
 </IfDefine>
</IfModule>

# If Search Engine Friendly URLs do not work, try enabling the
# following Apache configuration parameter
#
# AcceptPathInfo On

# Fix certain PHP values
# (commented out by default to prevent errors occuring on certain
# servers)
#
<IfModule mod_php4.c>
 php_value session.use_trans_sid 0
 php_value register_globals 1
</IfModule>

 

Once you've done this you should now be able to view your site frontend without the error message

 

Regards

Posted

Thanks, I've found .htaccess but it is in the mydomain/public_html/pub directory, is that correct?

 

Secondly how do I invoke a text editor in my ftp IE browser window to add all the text you supplied?

 

I can see the file but only have the standard browser options File, Edit, View etc

Posted
Thanks, I've found .htaccess but it is in the mydomain/public_html/pub directory, is that correct?

 

Secondly how do I invoke a text editor in my ftp IE browser window to add all the text you supplied?

 

I can see the file but only have the standard browser options File, Edit, View etc

 

Hey, it depends on how you are connecting to the FTP

 

I use FlashFXP which opens up the file in Notepad when I click on Edit

 

If your hosting account comes with Cpanel you can use the File Manager to find the file and then edit it there

 

I've never used IE for FTP so I'm afraid I cant help you with that

 

Regards

Posted

Right I found I have a control panel where I changed .htaccess so that now looks like the file you provided. However I still get the error message if I open mydomain/install in a browser.

 

I repeat, the .htaccess file I have is in the mydomain/public_html/pub directory, is that correct?

 

If so should anything else happen to register the change I made?

Posted

Hi, the .htaccess should be placed in the root of your website

 

The root of your site is where the index.php file is located for OSCommerce, so if mydomain/public_html/pub directory is where the index.php file is then yes, you are putting the file in the right place

 

Within the root you get all the other folders such as admin, includes, images, install etc

 

Placing the.htaccess file in that directory sorted out the same problem for me on a Linux server

 

Regards

Posted

Cheers guys, all sorted. I created php.ini files and put them in various folders recommended in the forum and now cooking with gas

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...