[Zen Cart] URL Not Found after install

Magic SEO URLs for Zen Cart.
robinsonjas
Posts: 20
Joined: Sun Jun 13, 2010 7:38 am

[Zen Cart] URL Not Found after install

Postby robinsonjas » Sun Jun 13, 2010 7:45 am

Followed instructions and URLs are not found. The appear to be translated, but when I click they are not working.
Godaddy is host; ZenOptimizer already installed on shared server so I just created a php5.ini file and dumped the references there (see below).

http://bbmetalfab.com/store/book-ends-23/

Code: Select all

-bash-3.2$ cat php.ini
register_globals = off
allow_url_fopen = off

expose_php = Off
max_input_time = 60
variables_order = "EGPCS"
extension_dir = ./
upload_tmp_dir = /tmp
precision = 12
SMTP = relay-hosting.secureserver.net
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="

[Zend]
zend_extension=/usr/local/zo/ZendExtensionManager.so
zend_extension=/usr/local/zo/4_3/ZendOptimizer.so


Also have SSL (https://bbmetalfab.com) as well; what is needed for that (if anything)
Thank You

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [Zen Cart] URL Not Found after install

Postby inveo » Sun Jun 13, 2010 7:55 am


robinsonjas
Posts: 20
Joined: Sun Jun 13, 2010 7:38 am

Re: [Zen Cart] URL Not Found after install

Postby robinsonjas » Sun Jun 13, 2010 2:27 pm

No luck so far; It appears the .htaccess file in my / is not getting rewritten. GoDaddy support article says mod_rewrite is enabled globally. Sending ticket to GoDaddy. What should the .htaccess file look like after it gets rewritten?
I have:

Code: Select all

-bash-3.2$ cat .htaccess
addhandler x-httpd-php5-cgi .php5
addhandler x-httpd-php-cgi .php4
addhandler x-httpd-php5-cgi .php
-bash-3.2$

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [Zen Cart] URL Not Found after install

Postby inveo » Sun Jun 13, 2010 2:30 pm

There should be Rewrite Rules in .htaccess file. Please follow carefully installation instructions.

robinsonjas
Posts: 20
Joined: Sun Jun 13, 2010 7:38 am

Re: [Zen Cart] URL Not Found after install

Postby robinsonjas » Sun Jun 13, 2010 3:47 pm

Went back thru install, same results. Checked perms, etc I can't see anything wrong. I have access to edit my .htaccess directly.
According to install doc under requirements I see:
Apache 1.3.x, 2.0.x or 2.2.x with mod_rewrite installed and .htaccess file handling enabled (or with ability to add Rewrite Rules to Apache configuration files).

Any content i can paste in that file to test?

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [Zen Cart] URL Not Found after install

Postby inveo » Sun Jun 13, 2010 3:55 pm

It is not necessary to test mod_rewrite (yet). The problem is that your .htaccess file has not been generated. Please double check everything. GoDaddy is supported very well.

robinsonjas
Posts: 20
Joined: Sun Jun 13, 2010 7:38 am

Re: [Zen Cart] URL Not Found after install

Postby robinsonjas » Sun Jun 13, 2010 5:30 pm

So what is generating the .htaccess file? I sent ticket to GoDaddy, they replied w/ "...we dont support 3rd party apps..."
I found a few hits on Zend's website for issues w/ GoDaddy...Among them was an article that said to install your own ZendOptimizer...
I d/l the file and put it on my server - referenced in php5.ini and still no luck? Maybe I'm not patient enuf (I have seen articles say GoDaddy takes a while for php.ini refreshes????)

Here's output from my phpinfo after my ZendOptimizer upload.
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [Zen Cart] URL Not Found after install

Postby inveo » Sun Jun 13, 2010 5:32 pm

There is no problem with your host. You only need to generate .htaccess file. Please see FAQ and Troubleshooting section in manual.

robinsonjas
Posts: 20
Joined: Sun Jun 13, 2010 7:38 am

Re: [Zen Cart] URL Not Found after install

Postby robinsonjas » Sun Jun 13, 2010 5:51 pm

This section??:
How can I re-generate the .htaccess file content?
1.Change the permissions on www/.htaccess to be writeable by all (666 or -rw-rw-rw- within your FTP Client) and delete readonly-htaccess file if exists on your FTP.

2.Using your web browser visit the location you placed your internet shopping cart, e.g. http://www.mydomain.com/store/, http://www.mydomain.com/catalog/ etc. (by doing so the content of www/.htaccess file will be re-generated).

3.Change the permissions on www/.htaccess to be writeable only by yourself (644 or -rw-r--r-- within your FTP Client) and/or create new blank file with readonly-htaccess name in same directory (this will prevent www/.htaccess file from being overwritten by Inveo Magic SEO URLs).

4.The re-generation of .htaccess file content is finished.


Code: Select all

-bash-3.2$ pwd
/var/chroot/home/content/XX/XXXXXXX/html
Here's my steps just now:
-bash-3.2$ cat .htaccess
addhandler x-httpd-php5-cgi .php5
addhandler x-httpd-php-cgi .php4
addhandler x-httpd-php5-cgi .php
-bash-3.2$ mv .htaccess .htold
-bash-3.2$ > .htaccess
-bash-3.2$ ls -al .htaccess
-rw-r--r-- 1 xxxxxxxx inetuser 0 Jun 13 17:48 .htaccess
-bash-3.2$ chmod 666 .htaccess
-bash-3.2$ ls -al .htaccess
-rw-rw-rw- 1 xxxxxxxx inetuser 0 Jun 13 17:48 .htaccess
-bash-3.2$ ls -al .htaccess
-rw-rw-rw- 1 xxxxxxxx inetuser 0 Jun 13 17:48 .htaccess
-bash-3.2$ ls -al .htaccess
-rw-rw-rw- 1 xxxxxxxx inetuser 0 Jun 13 17:48 .htaccess


I did 'ls -l' after each refresh of my store home page...I assume its supposed to generate the .htaccess at that time ...?

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [Zen Cart] URL Not Found after install

Postby inveo » Sun Jun 13, 2010 5:57 pm

Is .htaccess file stored in Shopping cart root folder? (folder named "store" in your case)