Forum Moderators: coopster

Message Too Old, No Replies

problem installing osCommerce on Yahoo!

problem installing osCommerce on Yahoo! - can't upload beginning with ".'"

         

yoderfarms

7:42 am on Nov 18, 2006 (gmt 0)

10+ Year Member



I'm having a problem installing osCommerce on Yahoo! using the "site" portion of the Yahoo! stores account, where you can ostensibly post your useful scripts (albeit without boosting your pagerank :( for your main page in any search engines).

You can even access it with FTP.

In any case, you can't upload files that begin with a "."


STOR .htaccess
553-The name you specified is not allowed.
553-Names must contain only ASCII letters (a-z,A-Z), digits (0-9), underscore, dot and dash.
553-Names must not start with a dot (.) or dash (-).
553-For additional info please visit:
553-See [help.yahoo.com...]

Do you suggest I just go through the PHP scripts and rename the files it accesses beginning with a period to begin with an underscore or something?

Does anyone have any idea which scripts access these ".<config whatever>." files?

-Yodelling Yoder

coopster

5:43 pm on Nov 20, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Files that begin with a dot are often not allowed for upload, for security purposes. A direct FTP connection will sometimes allow this but many control panel sites will not. In these cases, you will often find a per-directory file (.htaccess) generator/editor area in the control panel. If that happens to be your particular setup you will have to cut and paste the text from your file into the <textarea> offered through the control panel.

You'll find the Apache documentation a good starting point to learn more about .htaccess [httpd.apache.org].

whoisgregg

5:57 pm on Nov 20, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You may also be able to get around this by changing the name of the .htaccess to htaccess.txt, uploading it, then renaming it to .htaccess once it's uploaded.

eelixduppy

7:56 pm on Nov 20, 2006 (gmt 0)



I don't think .htaccess is allowed on yahoo hosting accounts. In which case renaming won't work either. You may want to contact customer support to see what they can give you.

eelixduppy

8:44 pm on Nov 20, 2006 (gmt 0)




.htaccess (Hypertext Access)
The name .htaccess refers to the main configuration file for Apache, a popular open-source HTTP server. The .htaccess file can be used to create custom error pages and web page redirects, set up password protection, enable SSI, and more. Yahoo! does not currently allow you to upload .htaccess files to your account. For other customization options, we recommend the Custom Error Pages and password-protection features available in your Web Hosting Control Panel.

[help.yahoo.com...]

Found the proof ;)

yoderfarms

12:19 pm on Nov 22, 2006 (gmt 0)

10+ Year Member



how important are error pages? and does yahoo!'s junk integrate with apache?

andye

12:45 pm on Nov 22, 2006 (gmt 0)

10+ Year Member



how important are error pages?

Not very (imo).

and does yahoo!'s junk integrate with apache?

Not sure what you mean by the question. Apache is a piece of web server software. If you were running your own web hosting using Apache then you wouldn't be using Yahoo's hosting. Do you mean, does Yahoo use Apache?

hth, a.

yoderfarms

11:17 am on Nov 26, 2006 (gmt 0)

10+ Year Member



well now i've got it installed

i used phpmyadmin located in the ./phpmyadmin directory of my site.domainname.com site to create an empty database "osc" and give one of the users acces to it. the user was created with certain priveledges not including grant. (by the way how do i log in as yroot?)

i then went to the oscommerce install page and it asks:

Database Server
Username
Password
Database Name
Persistent Connections
Session Storeage.

I used 'localhost' as the database server and try both my yahoo id (with and without the @yahoo.com appended + password) as well as the login/pw i use for phpmyadmin of course the database name is "osc".
Persistent Connections I leave checked and session storage I check on database.

I get this message:

"
A test connection made to the database was NOT successful.

The error message returned is:

Can't connect to local MySQL server through socket '/tmp/mysql.sock' (46)

Please click on the Back button below to review your database server settings.

If you require help with your database server settings, please consult your hosting company.
"

eelixduppy

1:50 pm on Nov 26, 2006 (gmt 0)



I don't think you use "localhost", but rather "mysql" as the server's location on yahoo accounts. And use the login credentials that you use for phpmyadmin.

Try that to see if anything changes.

yoderfarms

10:56 pm on Nov 26, 2006 (gmt 0)

10+ Year Member




I don't think you use "localhost", but rather "mysql" as the server's location on yahoo accounts. And use the login credentials that you use for phpmyadmin.
Try that to see if anything changes.

yep! thanks i'm on to the next screen.

yoderfarms

11:02 pm on Nov 26, 2006 (gmt 0)

10+ Year Member



can the files in "catalog" be uploaded to your webservers root directory without interfering with the "extras" folder .... it seems a bit awkward to advertise your website as

www.blablah.com/catalog/

yoderfarms

12:04 am on Nov 27, 2006 (gmt 0)

10+ Year Member



Another problem :

For some reason, here is what happens:

I configure the osCommerce PHP package to allow secure checkout

i.e.

on the screen [site.com...]

if I check "Enable SSL Connections:" ....

... .. this is what happens when I add an item to the cart and click checkout (the url for checkout is [site.com...]

I get the window in Internet Explorer that says "this page contains both secure and nonsecure items do you want to display nonsecure items."

Clicking Yes or No doesn't matter

I get this screen:

Sorry, Forbidden.
You don't have permission to access this URL on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Please check the URL for proper spelling and capitalization. If you're having trouble locating a destination on Yahoo!, try visiting the Yahoo! home page or look through a list of Yahoo!'s online services. Also, you may find what you're looking for if you try searching below.

Doesn't yahoo's web hosting allow SSL connections?

eelixduppy

12:07 am on Nov 27, 2006 (gmt 0)



>>Doesn't yahoo's web hosting allow SSL connections?

Yes. Check this link [search.cc.yahoo.com]. Not quite sure how to implement it this way, though.