Zen Cart Logo
Forums / Addon Templates / Westminster New

Westminster New

Views: 494,233

Results 1,381 to 1,400 of 1,865
12 Dec 2016, 9:40 AM
#1381
e_standard avatar

e_standard

New Zenner

Join Date:
Nov 2013
Location:
China
Posts:
75
Plugin Contributions:
0

Westminster New

Moreover,this one in html_header.php,very slow response...

<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/css_browser_selector.js' ?>" type="text/javascript"></script>
<link href="https://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css" rel="stylesheet" />
16 Dec 2016, 9:24 AM
#1382
spminis avatar

spminis

Zen Follower

Join Date:
Feb 2015
Location:
USA
Posts:
194
Plugin Contributions:
0

Re: Westminster New

A simple question I think
I uploaded the files, logged in to admin and changed the template to Westminster. I tried to change the page and received an error message and the page went blank. The site itself looked ok. In the end I found that the problem was the file admin/includes/auto_loaders/config.westminster_new.php. When I deleted the file the admin pages worked. When I put it back in, I got the error message.
It seems to be calling up a file called init_westminster_.php. I checked and that file is in the admin/includes/ init_includes directory.

I've checked to make sure that all the files were uploaded to their correct directory.

What am I doing wrong?

Thanks
Carol

16 Dec 2016, 9:36 AM
#1383
purecarsound avatar

purecarsound

New Zenner

Join Date:
May 2006
Location:
Chester, UK
Posts:
99
Plugin Contributions:
0

Re: Westminster New

Hi Carl

I've just done a quick check on our live site.

In admin/includes/auto_loaders/config.westminster_new.php I found Line #8 : 'loadFile' => 'init_westminster_new.php' ;-)

16 Dec 2016, 9:44 AM
#1384
spminis avatar

spminis

Zen Follower

Join Date:
Feb 2015
Location:
USA
Posts:
194
Plugin Contributions:
0

Re: Westminster New

Purecarsound:

Hi Carl

I've just done a quick check on our live site.

In admin/includes/auto_loaders/config.westminster_new.php I found Line #8 : 'loadFile' => 'init_westminster_new.php' ;-)

I saw that line and the init_westminster file is located in the init_inclues directory. I mentioned that in my post. Thanks for the quick response but that doesn't help the problem Should the init_westminster file be in a different directory?

Carol

16 Dec 2016, 10:15 AM
#1385
purecarsound avatar

purecarsound

New Zenner

Join Date:
May 2006
Location:
Chester, UK
Posts:
99
Plugin Contributions:
0

Re: Westminster New

Apologies Carol, I didn't read your post correctly! Hopefully Anne will know what the problem is and post the solution ;-)

16 Dec 2016, 3:07 PM
#1386
cosmosk avatar

cosmosk

Zen Follower

Join Date:
Jan 2015
Posts:
193
Plugin Contributions:
0

Re: Westminster New

Is there qa way to add a hyperlink to this image? I don't see it in the banner manager. Thanks!

Attachment 16840

16 Dec 2016, 3:20 PM
#1387
purecarsound avatar

purecarsound

New Zenner

Join Date:
May 2006
Location:
Chester, UK
Posts:
99
Plugin Contributions:
0

Re: Westminster New

CosmosK:

Is there qa way to add a hyperlink to this image? I don't see it in the banner manager. Thanks!

Attachment 16840

In Banner Manager look under 'Groups' column. The one you need to edit is 'hometop' banner. It's probably easier to create a new banner and select 'hometop' from the dropdown. Hyperlink goes in the 'Banner URL: field'

16 Dec 2016, 3:22 PM
#1388
cosmosk avatar

cosmosk

Zen Follower

Join Date:
Jan 2015
Posts:
193
Plugin Contributions:
0

Re: Westminster New

I just found it. I had renamed the image, but when I hovered over it, it said "HOMETOP" which led me to it. Thanks!

30 Dec 2016, 4:07 AM
#1389
mexcy avatar

mexcy

New Zenner

Join Date:
Dec 2016
Location:
amoy
Posts:
5
Plugin Contributions:
0

Re: Westminster New

there is a mistake when i your free template on login page, i try to create a account, when I fill out the information, and click submit button, it seems refresh page once time,every details i fill out none,and i check the adminpage, there is no account i create before,it is very important to get your help, thank you very much !
also, the url(index.php?main_page=create_account) cant open. when i try to do that, it always bring me to another url(index.php?main_page=login), i cant register an account in this page(index.php?main_page=login)
if you could help me about this, thats so much appreciate to you! :)

4 Jan 2017, 3:25 AM
#1390
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Westminster New

define('BUTTON_LOOKUP_ALT', 'Lookup');
``` .. is missing from the languages file - includes/languages/english/westminster_new/button_names.php
4 Jan 2017, 3:40 AM
#1391
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Westminster New

picaflor-azul:

That's very strange. I have not heard about this happening before. I hope that someone with more php knowledge can post and explain what is happening.

Thanks,

Anne

define('HEADING_TITLE','Flexible Footer Menu');

Happening on my sites too... I will apply Frank's "fix"

4 Jan 2017, 8:59 PM
#1392
dremhmrk2 avatar

dremhmrk2

New Zenner

Join Date:
Jun 2010
Posts:
32
Plugin Contributions:
0

Re: Westminster New

Anne,
First thank you for your templates, I have used them a few times over the years.

My situation is as follows: Set up a new Godaddy hosting account (I know, I know, GODADDY YICK) and installed zencart 1.5.5. I then installed your Westminster New theme and the google analytics plugin.

My problem: When I attempt to visit the login (on the front end) page I get a popup alert that reads:
"An unknown response null: :text/html; charset=utf-8: :SyntaxError: Unexpected token m in JSON at position 0 was received while processing an ajax call. The action you requested could not be completed"

Then as I scroll farther down the page, to where you would enter your country for signup, instead of showing the countries list I get:
"WARNING: An Error occurred, please refresh the page and try again."

This prevents the rest of the page from loading below this.

I looked in my log files and this is what I get in my "mydebug" file:
"[03-Jan-2017 19:50:39 UTC] Request URI: /index.php?main_page=down_for_maintenance&zenid=qljcq63tr53aaqi4iep8vvj9g0, IP address: 70.90.59.1
#1 trigger_error() called at [/home/merlintrading/public_html/includes/classes/db/mysql/query_factory.php:167]
#2 queryFactory->show_error() called at [/home/merlintrading/public_html/includes/classes/db/mysql/query_factory.php:139]
#3 queryFactory->set_error() called at [/home/merlintrading/public_html/includes/classes/db/mysql/query_factory.php:266]
#4 queryFactory->Execute() called at [/home/merlintrading/public_html/includes/modules/westminster_new/column_left.php:17]
#5 require(/home/merlintrading/public_html/includes/modules/westminster_new/column_left.php) called at [/home/merlintrading/public_html/includes/templates/westminster_new/common/tpl_main_page.php:208]
#6 require(/home/merlintrading/public_html/includes/templates/westminster_new/common/tpl_main_page.php) called at [/home/merlintrading/public_html/index.php:97]

[03-Jan-2017 19:50:39 UTC] PHP Fatal error: 1054:Unknown column 'show_box_min_width' in 'field list' :: select layout_box_name, show_box_min_width from zc_layout_boxes where layout_box_location = 0 and layout_box_status= '1' and layout_template ='westminster_new' order by layout_box_sort_order ==> (as called by) /home/merlintrading/public_html/includes/modules/westminster_new/column_left.php on line 17 <== in /home/merlintrading/public_html/includes/classes/db/mysql/query_factory.php on line 167
"

None of that makes any sense to me, as I have never had this exact set of problems with any of your themes. Any advice would be greatly appreciated.

4 Jan 2017, 9:24 PM
#1393
dremhmrk2 avatar

dremhmrk2

New Zenner

Join Date:
Jun 2010
Posts:
32
Plugin Contributions:
0

Re: Westminster New

Additionally, clicking the "signup" link in the menu does NOT throw the popup message but DOES include the missing countries and missing rest of the page.

4 Jan 2017, 9:32 PM
#1394
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Westminster New

dremhmrk2:

Anne,
First thank you for your templates, I have used them a few times over the years.

My situation is as follows: Set up a new Godaddy hosting account (I know, I know, GODADDY YICK) and installed zencart 1.5.5. I then installed your Westminster New theme and the google analytics plugin.

My problem: When I attempt to visit the login (on the front end) page I get a popup alert that reads:
"An unknown response null: :text/html; charset=utf-8: :SyntaxError: Unexpected token m in JSON at position 0 was received while processing an ajax call. The action you requested could not be completed"

Then as I scroll farther down the page, to where you would enter your country for signup, instead of showing the countries list I get:
"WARNING: An Error occurred, please refresh the page and try again."

This prevents the rest of the page from loading below this.

I looked in my log files and this is what I get in my "mydebug" file:
"[03-Jan-2017 19:50:39 UTC] Request URI: /index.php?main_page=down_for_maintenance&zenid=qljcq63tr53aaqi4iep8vvj9g0, IP address: 70.90.59.1
#1 trigger_error() called at [/home/merlintrading/public_html/includes/classes/db/mysql/query_factory.php:167]
#2 queryFactory->show_error() called at [/home/merlintrading/public_html/includes/classes/db/mysql/query_factory.php:139]
#3 queryFactory->set_error() called at [/home/merlintrading/public_html/includes/classes/db/mysql/query_factory.php:266]
#4 queryFactory->Execute() called at [/home/merlintrading/public_html/includes/modules/westminster_new/column_left.php:17]
#5 require(/home/merlintrading/public_html/includes/modules/westminster_new/column_left.php) called at [/home/merlintrading/public_html/includes/templates/westminster_new/common/tpl_main_page.php:208]
#6 require(/home/merlintrading/public_html/includes/templates/westminster_new/common/tpl_main_page.php) called at [/home/merlintrading/public_html/index.php:97]

[03-Jan-2017 19:50:39 UTC] PHP Fatal error: 1054:Unknown column 'show_box_min_width' in 'field list' :: select layout_box_name, show_box_min_width from zc_layout_boxes where layout_box_location = 0 and layout_box_status= '1' and layout_template ='westminster_new' order by layout_box_sort_order ==> (as called by) /home/merlintrading/public_html/includes/modules/westminster_new/column_left.php on line 17 <== in /home/merlintrading/public_html/includes/classes/db/mysql/query_factory.php on line 167
"

None of that makes any sense to me, as I have never had this exact set of problems with any of your themes. Any advice would be greatly appreciated.

How did you perform the installation? Did you use the proper method and FTP the folders/files to the server? Or did you use some crappy Godaddy self-install system?

See what happens with a godaddy account... problems before you even start.

4 Jan 2017, 9:44 PM
#1395
dremhmrk2 avatar

dremhmrk2

New Zenner

Join Date:
Jun 2010
Posts:
32
Plugin Contributions:
0

Re: Westminster New

schoolboy:

How did you perform the installation? Did you use the proper method and FTP the folders/files to the server? Or did you use some crappy Godaddy self-install system?

See what happens with a godaddy account... problems before you even start.

I used their crappy self install (which to be honest I've used numerous times over the last few years without issue) If I don't get an answer that makes sense, my plan is to scrap the hosting account and reinstall, using the traditional method. I figured I'd give the internet an evening to try and answer this before I go ahead and do that though.

You're very right about Godaddy but I have tied hands regarding the host.

4 Jan 2017, 10:45 PM
#1396
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Westminster New

charset=utf-8 <- could be the problem, usually not a dash before the 8

Open both configuration files and change to read:

define('DB_CHARSET', 'utf8');

5 Jan 2017, 2:51 AM
#1397
drbyte avatar

drbyte

Sensei

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

Re: Westminster New

Website Rob:

charset=utf-8 <- could be the problem, usually not a dash before the 8

Open both configuration files and change to read:

define('DB_CHARSET', 'utf8');
Just to clarify: for DB_CHARSET it should be 'utf8' "without the dash/hyphen". But in english.php for the CHARSET it does use the dash: 'utf-8'

(databases evidently do it differently than browsers)

5 Jan 2017, 3:56 PM
#1398
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Westminster New

dremhmrk2:

I used their crappy self install (which to be honest I've used numerous times over the last few years without issue) If I don't get an answer that makes sense, my plan is to scrap the hosting account and reinstall, using the traditional method. I figured I'd give the internet an evening to try and answer this before I go ahead and do that though.

You're very right about Godaddy but I have tied hands regarding the host.

Yes, it is not recommended to use the auto installers on live shops. I would recommend using the native zen cart installer.

Thanks,

Anne

5 Jan 2017, 4:20 PM
#1399
spminis avatar

spminis

Zen Follower

Join Date:
Feb 2015
Location:
USA
Posts:
194
Plugin Contributions:
0

Re: Westminster New

I'm about to call it quits on this template and also the Winchester as I'm having the same problem with that one.

Several weeks ago I posted that when I upload the config.westminster_new.php file the website shows but I get a blank or "WARNING: An Error occurred, please refresh the page and try again." message when attempting to get into my admin page. When I remove the file the template still shows on the website and I'm able to log into my admin area.
My log files show the following:
"05-Jan-2017 10:51:18 America/New_York] PHP Parse error: syntax error, unexpected ';', expecting ')' in /home/spmini5/public_html/teststore/my_secret_admin/includes/auto_loaders/config.westminster_new.php on line 8"

This is on a testsite - spminiatures.com/teststore
I did a clean install of 1.55d and then uploaded the template files to their CORRECT folders.

I have looked through the forum and saw someone else having the same problem but didn't see a solution. I upgraded my PHP version thinking that might help but it didn't. I downloaded another westminster new file and reinstalled it. Still the same problem.

I give up!
Carol

5 Jan 2017, 6:06 PM
#1400
drbyte avatar

drbyte

Sensei

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

Re: Westminster New

spminis:

when I upload the config.westminster_new.php file the website shows but I get a blank or "WARNING: An Error occurred, please refresh the page and try again." message when attempting to get into my admin page. When I remove the file the template still shows on the website and I'm able to log into my admin area.
My log files show the following:
"05-Jan-2017 10:51:18 America/New_York] PHP Parse error: syntax error, unexpected ';', expecting ')' in /home/spmini5/public_html/teststore/my_secret_admin/includes/auto_loaders/config.westminster_new.php on line 8"
Can you post the contents of that config file? Sounds like there's wrong syntax in the file.