Forums / Installing on a Linux/Unix Server / Cannot get past license agreement

Cannot get past license agreement

Views: 3,120

Results 1 to 12 of 12
5 Aug 2013, 11:40 PM
#1
kelan avatar

kelan

New Zenner

Join Date:
Aug 2013
Location:
Yelm, WA
Posts:
8
Plugin Contributions:
0

Cannot get past license agreement

When I accept the license agreement, I get the 500 Internal Server Error.

This is the response I get from my host tech support:

"Thank you for contacting us regarding scripting errors.

This appears to be an error with your cart. The logs show this:

Premature end of script headers: php, referer: "

Their error log simply is the license agreement page.

I have read all posts regarding this to no avail, and reinstalled the zc_install directory - also to no avail.

This is a new installation on an Apache/2.2.3 (Red Hat) Server

My logs on my site show no entries.

The cache directory has a new file 26 bytes contaiining: installerConfigKeys|a:0:{}

6 Aug 2013, 4:11 PM
#2
kelan avatar

kelan

New Zenner

Join Date:
Aug 2013
Location:
Yelm, WA
Posts:
8
Plugin Contributions:
0

Re: Cannot get past license agreement

Here is the problem: there is a file missing. The licensing page script calls for:

<iframe src="includes/templates/template_default/templates/gpl_license.html"></iframe>

This file does not exist in the templates directory. As a matter of fact, all files in that directory start with tpl, not gpl.

Does anyone know where to get this file? And are all of the other file names with tpl correct? Should they be gpl?

6 Aug 2013, 4:33 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Cannot get past license agreement

That file should be on the Server in:
/zc_install/includes/templates/template_default/templates/

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Aug 2013, 4:47 PM
#4
kelan avatar

kelan

New Zenner

Join Date:
Aug 2013
Location:
Yelm, WA
Posts:
8
Plugin Contributions:
0

Re: Cannot get past license agreement

Additional note: all files in this templates directory are .php, not .html

6 Aug 2013, 4:53 PM
#5
kelan avatar

kelan

New Zenner

Join Date:
Aug 2013
Location:
Yelm, WA
Posts:
8
Plugin Contributions:
0

Re: Cannot get past license agreement

Thanks Ageh,

It does not exist in the download of 1.5.1 version of the download to my computer either. Again, all files in the templates directory are .php not .html, and all start with tpl not gpl.

6 Aug 2013, 5:26 PM
#6
kelan avatar

kelan

New Zenner

Join Date:
Aug 2013
Location:
Yelm, WA
Posts:
8
Plugin Contributions:
0

Re: Cannot get past license agreement

Update: the problem is that in license script is pointing to mywebsite/html/mywebsitestore/includes instead of mywebsite/html/mywebsitestore/zc_install/includes. Upon install, the install has to work from the zc_install directory instead of mywebsitestore. The correct gpl_license exists there. Did I install in the wrong directory?

6 Aug 2013, 7:46 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Cannot get past license agreement

Kelan:

Here is the problem: there is a file missing. The licensing page script calls for:

<iframe src="includes/templates/template_default/templates/gpl_license.html"></iframe>

This file does not exist in the templates directory. As a matter of fact, all files in that directory start with tpl, not gpl.

Does anyone know where to get this file? And are all of the other file names with tpl correct? Should they be gpl?

Kelan:

Update: the problem is that in license script is pointing to mywebsite/html/mywebsitestore/includes instead of mywebsite/html/mywebsitestore/zc_install/includes. Upon install, the install has to work from the zc_install directory instead of mywebsitestore. The correct gpl_license exists there. Did I install in the wrong directory?

Yes, of course it has to work from the zc_install directory.
But, if you're running zc_install/index.php and the iframe on that page points to "includes/something" instead of "/includes/something" then it WILL be looking at the zc_install/includes/ directory.

"includes/something" looks for "the current directory followed by includes/something"
whereas
"/includes/something" looks for "http://your_domain/includes/something"

So the iframe is indeed expecting the contents to come from the zc_install/includes/ source.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

6 Aug 2013, 8:02 PM
#8
kelan avatar

kelan

New Zenner

Join Date:
Aug 2013
Location:
Yelm, WA
Posts:
8
Plugin Contributions:
0

Re: Cannot get past license agreement

If I install from the zc_install directory, I get the 500 internal sever error, but I have been able to refresh and get the prerequisites screen and everything is OK. However, when I click install, I get the 500 error again and can not back out. The installation script is pointing to incorrect directories.

6 Aug 2013, 8:18 PM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Cannot get past license agreement

Kelan:

The installation script is pointing to incorrect directories.
I thought I just explained that it is actually looking at the correct directories.

"500 error" is typically caused by file permissions being too generous (ie: 777 on a server whose security rules forbid the use of 777, and want you to use 755 instead).

With the hundreds of Zen Cart stores I've worked on in the last month, I've never seen a case where the zc_install files didn't work perfectly exactly as they are out-of-the-box.

Who's your hosting company?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

6 Aug 2013, 9:37 PM
#10
kelan avatar

kelan

New Zenner

Join Date:
Aug 2013
Location:
Yelm, WA
Posts:
8
Plugin Contributions:
0

Re: Cannot get past license agreement

Hi DrByte,

Sorry I did not get your posts immediately after you posted. Had to relog in to get them!??

In any case, I am using web.com on http://2271012.sites.myregisteredsite.com/yelmwormstore. This is a temporary site which will be repointed to yelmworms.com once I get the cart up and running.

6 Aug 2013, 9:56 PM
#11
kelan avatar

kelan

New Zenner

Join Date:
Aug 2013
Location:
Yelm, WA
Posts:
8
Plugin Contributions:
0

Re: Cannot get past license agreement

And I did try changing permissions on cache and logs to 755 to no avail. I otherwise followed the permission setup as recommended on the installation instructions. Perhaps changing all the permissions recommended from 777 to 755 would solve the problem?

And no, I just changed all of the permissions back to 755 and get the same error.

7 Aug 2013, 1:35 AM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Cannot get past license agreement

Your problem has nothing to do with the license agreement. It displays properly.

Your problem is that your server is croaking during the system-inspection phase, where Zen Cart tests your server to be sure that it meets the requirements to operate Zen Cart.
During that phase it tests whether the configure.php files exist and are writable, tests whether other directories (mentioned in the installation instructions) are writable or not, tests whether MySQL can be accessed and tries to determine its version number, tests whether various PHP extensions are present, tests whether .htaccess rules are working on your server, tests whether CURL is functional both in SSL mode and non-SSL mode, and so on.
Normally it writes the results of the inspection to either the /logs/ or /cache/ folder on your server. But if it's dying before it can write those logs then of course there won't be any such logs.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.