I new version has been uploaded to the plugin section. I am using 'numinix-fec-addd484', dated 15 Aug 2014, with v1.5.4. should I upgrade to this new version? If yes, should I run the uninstall.sql file first?
Printable View
I new version has been uploaded to the plugin section. I am using 'numinix-fec-addd484', dated 15 Aug 2014, with v1.5.4. should I upgrade to this new version? If yes, should I run the uninstall.sql file first?
i currently download the latest version and upload all the files , but i am not able to login an blank error message popup, please help with this, and i use 1.14.4 version before and after upgrade the version remain 1.14.4 in control panel?
My website is igrab.com.au
Zen Cart 1.5.0 - stock installation, except the CSS JS Loader (required)
Linux Host
PHP 5.6.9 on the host
I installed FEC 2.1.2
All seemed to go as planned, enabled things per the TIPS section at the end of instructions. I did NOT do the Magic SEO optional, nor the Gift Wrapping optional.
When I go to Log In to user account, I get a HTTP500 error, when directed to the URL https://www.mywebsite.com/index.php?...action=process
**Note:: The COWOA and FEC seem to work well, the only problem SEEMS TO BE logging into existing accounts.
**Note:: Creating a NEW account also seems to go well, but when trying to do another order using that account...fails as above
Looking at the logs, I see the failed attempts (I think) showing the following errors (3 in a row, parsed down to what I think are the important parts)
-->> ".....PHP Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0....."
-->> ".....PHP Warning: file_get_contents(http://www.zen-cart.com/downloads.ph...check&id=594): failed to open stream: no suitable wrapper could be found in....."
-->> ".....PHP Warning: in_array() expects parameter 2 to be array, null given in....."
Now - I think this is telling me that in the PHP Config of my server, that this allow_url_fopen is disabled, and I need to have it enabled (if they will do it for me)
Is this a correct conclusion?
Will enabling this fix it for me?
What can I do if they 'refuse' to "enable" it (assuming that is the course of action I should take)?
Are there any other "server considerations" I should address at the same time - to not have to open multiple tickets with the host?
If this is it - a list of "make sure your server is versions xxxxx, yyy and zzzz and has 'abc' enabled and 'def' set to blah blah blah...." type of DOC would be a welcome addition to the installation files.
Thanks in advance for any suggestions!
Upon looking a little closer... this seems related to doing a check for an updated FEC version (?) - MAYBE? If so, can this be disabled? A quick read...and I am by NO MEANS an expert...but enabling this "allow_url_fopen" function is stated to be a security vulnerability, so that is why it is likely disabled by default - if I can do without it by simply not doing this version check - then why not? Thoughts?
...and digging a little deeper - I changed the File Reference to "0" in the php file to disable the check - those errors go away, but my logins still fail.
So - that isn't the problem, but I STILL have the problem. Only now, there are no errors logging.
Thoughts anyone?
Log In attempt with the incorrect password gives an error as it should
Log In Attempt with the CORRECT password - gives the HTTP://500 error to the page https://www.mywebwiste.com/index.php...action=process
No log entries. I am stumped, or stupid....not sure which.
Hi Everybody.
After almost a week of gogleing and lurking in this forum (specially in the FEC thread, of +200 pages), im about to throw in the towel.
Im working in a Zencart (v1.5.3) that uses Fast Easy Checkout (1.15.3)
The site owner wants to use the onepage checkout feature of the FEC (shipping+payment in the same page).
As you must know, FEC redirects checkout_shipping to just checkout, a single page with both features (shipping + payment).
In the other hand, the previous developer installed a mobile zencart template.
The mobile cart template uses the checkout in stages (first shipping, then checkout).
The problem i have is that seems that the redirection rule used by FEC is affecting the mobile version, then, when i go to checkout using mobile, instead of going to checkout_shipping, i end being redirected from, per example: site.com/index.php?main_page=shopping_cart&zenid=sttlirsledb05gq5c35irebjv1 to site.com/index.php?main_page=checkout&fecaction=null&zenid=sttlirsledb05gq5c35irebjv1
instead of site.com/index.php?main_page=checkout_shipping&zenid=sttlirsledb05gq5c35irebjv1
I think that its clear that the FEC is involved since you can see the adding of "fecaction=null" in the url.
I spent DAYS going back and forth, trying to find the script where the redirection happens, and in which context.
Maybe its more easy than i think, but to be honest, im very confused now. I just need that the redirection rule of FEC dont be applied to the mobile site.
If anyone can illuminate me, really, thanks in advance.
Best regards.
Norberto
I may be wrong on this one but I'm going to venture a guess to you as to where you need to add your code. I'm just learning this stuff but it looks like this is where it would go.
In your tpl_checkout_default.php file on line 36 it calls the tpl_checkout_stacked.php file which is where the single page with everything on it is located. I would venture a guess that you need an if( not a mobile user) { require tpl_checkout_stacked.php} statement here.
Again. I'm just a novice but that looks like it is the statement calling the page you don't want to be used into play. Hope it helps.
Im checking the behavior after your advise, southshorepizza.
Maybe i should have to point that the site uses one template for web version and another for mobile. Its not a one and only responsive template. One template (web) or another (mobile) is used depending of the case of the user agent.
In the template that the store uses for web version, i can find tpl_checkout_default.php as you suggested, but in the mobile site template folder, that file is not present. I tried to copy that file and change the includes paths (so i hav a FECalized one page checkout in mobile) but it was a mess.
The files related to checkout in the mobile template folder are:
tpl_checkout_shipping_default.php
tpl_checkout_shipping_address_default.php
tpl_checkout_payment_default.php
tpl_checkout_payment_address_default.php
tpl_checkout_confirmation_default.php
tpl_checkout_success_default.php
I mean, if you load the site in a web browser, you use the sites default template. And if you open the site in a mobile device, then the mobile-zencart template is loaded, and this last one doesnt use tpl_checkout_default.php.
Seems that theres some rule above both templates where the redirection of the FEC appears, but im not sure about that.
I found that something related to it could be find at:
\includes\modules\pages\checkout\header_php.php
Here:
But that is when you already are in the checkout page.Code:$form_action_url = zen_href_link(FILENAME_CHECKOUT, 'fecaction=null', 'SSL'); //here is where the "fecaction=null" code is added
I investigated if in the shopping cart module (\includes\modules\pages\checkout\shopping_cart\header_php.php) the destination is defined in any way, but nothing.
If i can isolate the part where the FEC redirects from checkout_shipping to just checkout, maybe i can set some conditional there, where i can ignore it if its in mobile.
Thanks again, southshorepizza and everyone who could help!
If not overridden by the template then zencart uses the template_default copyQuote:
Originally Posted by norber
I took the job of this site with the mobile template already installed and FEC configured by someone else.
I checked the original downloaded zip and the mobile template is named "zencart-mobile". I know that the name is pretty common and should be 1000 templates with names like this.
I checked the mobile files and seems that checks for the user agent then, if the case is mobile, it loads that template.
When im in the shopping cart in mobile mode (ie: index.php?main_page=shopping_cart&zenid=7pngq0rtqp6pjc55ifnjtim5t7) and i hit "checkout", i can see that it goes after checkout_shipping (ie: index.php?main_page=checkout_shipping&zenid=7pngq0rtqp6pjc55ifnjtim5t7), then, a split sec later, it redirects to index.php?main_page=checkout&zenid=7pngq0rtqp6pjc55ifnjtim5t7 , and, a split sec more, it lands in index.php?main_page=checkout&fecaction=null&zenid=7pngq0rtqp6pjc55ifnjtim5t7
The result is that when it ends in index.php?main_page=checkout, the content after the header doesnt show, and i think that it happens because there is no tpl_checkout_default.php in mobiles template folder (\includes\templates\default_mobile\templates)
Thanks for your help and time, i really appreciate it.
What version of ZC?
I think the key here is to determine if it's loading a separate set of files for the mobile version or if it's a plugin/overlay on the regular ZC installation.
Is the zip file named zencart-mobile.zip?
(unzip that file in a temp directory and check that all the folders and files are in your production installation. i.e. are all the files there, As Kobra stated "If not overridden by the template then zencart uses the template_default copy" and that would default to the non-mobile version.
Can you tell if FEC was downloaded from Zen Cart or from numinix? If it's a numinix product they may be able to help.
Sorry for all the questions but with a few questions either you or one of us may be able to help figure this out.
Beside that I've been looking for a simple mobile solution myself.
I have just installed FEC with tableau template. if I have the split layout turned on how can I get it to adjust if the screen is narrow for example on a mobile devise so it responds in the same way as the rest of the tableau template does?
And my second issue is that if the the one page check out is false then the second page(the confirmation page) does not have any styling or layout to it. it is as if the css file is not being read. I have gone back through the install and cannot see any css missing in my install.
Can anyone help.
Thank you.
norber
I carefully read your original post and see the ZC & FEC version info.
Assuming the mobile version is a plugin. Because the URLS have shopping_cart and checkout_shipping in them those two files must be modified or have override files.
Check you mobile zip file and see if they exist or the instructions say to modify them.
LinuxGuy2, Kobra, SouthShorePizza; first of all, thanks for taking the time to read and help me, guys.
Well, what i did the last hours was to check the files looking for all the requires from the beggining.
That is, from the index.php in the root of the site. May be its an excercise on futility but im running out of options.
I put some echoes in the page to see what its loading each time:
To not confuse you, i will name the template folders as "web_template" and mobile_template". Heres what ive found:
require($code_page_directory . '/' . $value);
includes/modules/pages/index/
require($template->get_template_dir('html_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/html_header.php');
includes/templates/mobile_template/common/html_header.php
require($template->get_template_dir('main_template_vars.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/main_template_vars.php');
includes/templates/mobile_template/common/main_template_vars.php (*)
The funny thing, is that after the line above, if i put:
echo DIR_WS_TEMPLATE;
i got "includes/templates/web_template", INSTEAD OF "includes/templates/mobile_template"
and, after that, if i put
echo $current_page_base;
i got "index";
(*) on includes/templates/mobile_template/common/main_template_vars.php i put another echo to get where it was pulled the body code:
includes/modules/pages/index/main_template_vars.php
That folders structure doesnt come in the zip, so i think that its not overwritten by the installer
Regarding the instructions on the zip of the mobile, i got:
1) Extract the contents of the zip file you've just downloaded.
2) Put the entire folder ` zencart-mobile-install` in the root directory of your zencart installation.
3) navigate to YOURSITE.com/YOUR_ZENCART_INSTALL_DIRECTORY(usually cart or store) /zencart-mobile-install/
4) Choose a username and password for the mobile configuration tool.
5) Select your mobile logo image and your colors and let the installer do the rest.
6) Enjoy a fully functional mobile version of your website!
Seems that the installer copies and overwrites files, but the problem is to know which ones.
Inside the zip theres another zip (?) with the template files. Seems that the first "stage" of the zip is the installer itself that deflates and copies the contents of the one that is inside it.
Regarding if it is under the template or plugin category, the creators (http://www.mobilezencart.com/) define it as a "module".
Thanks again guys.
Norbert,
This new information will help a lot. I take it you're using the paid version but I/we may be able to extract enough information from the free version to help.
See if you can look at the files in the second zip file. That's probably where all the files you need to look at are.
It will be tomorrow before I have time to look at this again.
I downloaded the zencart from zencart.com.
I unzipped the zen-cart contents in a folder. Its a newer version than the one i have (1.5.4 and i have the 1.5.3) but i think that theres not so much difference.
I took the contents in the mobile module 2nd zip (a folder named "include")and pasted it in the zencart folder i decompressed earlier.
The only file to be overwritten was includes/classes/template_func. the rest were new files.
I asked the developers of mobile zencart if they knew of some conflict between the module and FEC some time ago and they told me "that they were not aware of it, but that if i wanted the money back thats ok". The last part sounded weird.
The worst scenario for me is that theres no conflict in vanilla versions of both (zencart and mobile module), and the conflict is in some modification done in some file by the previous developer. I saw dozens of test files in there (ie: main_template_vars.php_v001, main_template_vars.php_v002 and so on). Finding the problem in that condictions will be like find a needle in a haystack, because i will lost any reference to the real, documented thing.
Thx!
norber
I know you said it was the paid version but be sure it's the zencart-mobile premium install as I don't think the free install includes the mobile check out module.
Also it sound like there's an admin section to this module.
Check all the Mobile and the ZC admin sections for settings. Maybe it's just not enabled....
You said it works with the vanilla versions. Is that without FEC installed?
Or did you do a out of the box ZC test installation with FEC to see if it works?
Some trouble shooting methods I use.
1:
In the ZC folder online view details > sort on date modified and check to see which dates are different.
These are most likely the files that have been messed with.
OR
2:
With a FTP program like Winscp download entire ZC folder to your local machine so you have the working production install.
3:
In the folder you download to, view details > sort on date modified and check to see which dates are different.
These are most likely the files that have been messed with.
4:
To see what has been changed in the files, download a program that compares files like
NotePad++ you can get here. https://notepad-plus-plus.org/download/v6.8.1.html
(There are others but this one is simple to use and gets the job done)
Be sure you select the plugins option or just take the default installation settings.
5:IMPORTANT!
After you install and start the program in the menu bar go to Plugins > Plugin Manager and install the "Compare" plugin.
6:
Close and restart the program. Drag and drop the two files you want to check into it and go to Plugins > Compare > Compare.
7:
Be sure the file extensions are php or it won't give you a clear display of the differences.
Personally I don't use the nav bar on the right as it takes up space.
Hope that helps,
Meanwhile I'll try to download and install zencart-mobile.
Maybe you already saw this but one of the core files they add to is in:
/your catalog folder/include/class/template_func.php
Around lines 45 they add: (Be sure it's in there)
global $deviceType;
if($deviceType != FULL_SITE_DISPLAY_DEVICE)
$current_template = DIR_WS_TEMPLATES.DIR_MOBILE_TEMPLATE;
Norber
I take it the previous admin has done some mods to the installation so maybe this isn't an option for you but rather than try to figure out what the previous admin did would starting over be an option?
BACKUP the current CATALOG and DATABASE and be sure to get the products images.
You have already done some of this but as a test:
1:
Do an out of the box install of ZC, FEC & zencart-mobile into a new TEST folder on the server.
If that works install any other plugins he installed and retest.
2:
In the TEST database you just created, using PHP Admin DROP all the tables.
3:
Using PHP Admin import the current production database into the TEST database.
4:
Copy all your product images to the TEST installation images folder.
4:
If that works you would have a clean slate to work from.
5:
Of course you will have to redo the logos etc..
Thanks guys.
The problem i have is that the previous developer did a lot of changes in the theme that i think that i will do from the scratch and i dont know if the site owner has the money to pay that amount of hours.
I was thinking; if the problem is the damn redirection; it will not be easy (and dirty, i know) to look after the redirection file and put a conditional that ignores that redirection that FEC uses if the case is that the device is a mobile one?
I managed to isolate the variable that manages the user agent, a global one.
Its name is $deviceType
if i could find where the redirection takes place, i could do something like:
if ($deviceType=="phone"){
//do nothing
}else{
//do FEC redirection
}
Do you have any faintest idea where that redirection is done?
I checked every single file and i cannot find anything. I can see that the onepagecheckout is an option in the admin, but i dont know where to look for.
Thx.
Norberto
norber
I did an out of the box install of ZC, css_js_loader, FEC and zencart-mobile.
The non-mobile version works OK.
On a iPhone the free version does not allow one to add products to the shopping cart. It just sets at the product screen and prompts to get the paid version to continue.
Without access to all the files included in the paid version there's not much more I can do.
I would double check with zencartmobile to be sure it works with FEC.
As far as redirection goes if it displays the mobile version on your mobile device then it should follow the logic it installed so that leads me to believe it uses whatever check out logic is enabled. I don't think your can switch between regular ZC checkout and FEC on the fly
Please describe what screens the mobile version displays as your go through the checkout.
If I think of anything else I'll post it.
Im truly amazed by your support guys. All the time you have spent installing things and trying to replicate the problem i have. Thanks.
I think that i managed to isolate the problem, but i still find some problems to implement the solution.
Heres what ive found:
HEre:
/includes/auto_loaders/config.fec.php
The config for fec is loaded. It includes the redirection thing. If i comment those lines, the mobile version works fine.
config.fec.php is loaded using /includes/autoload_func.php. In /includes/autoload_func.php theres a for each loop that checks all the files in auto_loaders folder and loads them.
autoload_func.php is loaded in application_top.php
in autoload_func.php theres another thing loaded: config.mobile.php
my idea was to load the config.fec.php depending if it is a mobile device or not.
The problem i have is that seems that the config.fec.php is loaded BEFORE the config.mobile.php.
I need to know if its mobile to decide if i load it or not. But since config.mobile.php since to be loaded AFTER config.fec.php, i cannot do that evaluation.
Theres some way to tell the foreach loop to load config.mobile.php before config.fec.php ?
I thought in rename config.mobile.php to _config.mobile.php but i think that i could screw the site.
Any ideas?
Best regards.
Norberto
I found checking https://www.zen-cart.com/wiki/index.... wikitutorials that the order of loading is done by the array order.
$autoLoadConfig[0][]
in this case, [0] marks the order.
I checked that order in config.mobile.php and its 0
$autoLoadConfig[0][] = array('autoType'=>'class', 'loadFile'=>'Mobile_Detect.php');
and in case of config.fec.php its pretty big (90)
$autoLoadConfig[90][] = array('autoType'=>'class', 'loadFile'=>'observers/class.fec.php');
So config.fec.php is loaded way after mobile.
The problem is when its run.
norber,
Looks like you are learning more about ZC than you intended to. :D
That always seems to be the case for me too.
Did the mobile module add a configuration entry to the admin section?
Check ALL the admin settings to see if there's some setting there that might enable loading the mobile code. Sometimes they add configuration entries to an existing section.
You may find some useful information in the Wiki under OBSERVERS.
I think i solved it!
FEC autotype is "classInstantiate"
And now i know that config.mobile is loaded BEFORE fec config since config.mobile array order is 0 and config.fec is 90.
The problem is "when" it runs. And i found that it does that inside that foreach in autoload_func.php. That the actions to run is defined in a switch case.
So i looked for case 'classInstantiate' (around line 128):
and then i added thisCode:case 'classInstantiate':
$objectName = $entry['objectName'];
$className = $entry['className'];
Now in phone versions the fec is not loaded, while in the rest (computer, tablet, etc) its ok.Code://if its a phone and object name = FECObserver and class name=FECObserver ignore it
if (($deviceType=="phone") && ($objectName=="FECObserver") && ($className=="FECObserver")) {
$donothing="";
}else{
//rest of the original code
}// close added if
Hope it will be helpful for somebody.
Thanks for all the zenners who helped me, for their time and patience.
I cannot find in this post the problem I have, so if it is I am sorry.
In the file YOUR_ADMIN/orders.php you have findand replace withCode:$check_status = $db->Execute("select customers_name, customers_email_address, orders_status,
date_purchased from " . TABLE_ORDERS . "
where orders_id = '" . $_GET['oID'] . "'");
well I have found two lots of the 'find' code. Do I replace both?Code:$check_status = $db->Execute("select customers_name, customers_email_address, orders_status,
date_purchased, COWOA_order from " . TABLE_ORDERS . "
where orders_id = '" . $_GET['oID'] . "'");
I have had to start from scratch, so this is the first time I have been in this file.
I have added this 'FEC' many times but never spotted this one before.
I just installed FEC, and now the site hangs on the Order Confirmation page. Where should I start to troubleshoot this?
There is no order coming through on the Admin side either.
The site URL: www.store.whiffletreefarmva.com
I have just tested the checkout on my site and I am getting can't reach this page. I am running Windows Edge as I cannot run anything else atm so I thing this means error 404.
Debug fileThe address for the page isCode:[19-Sep-2015 17:23:03 Europe/London] #1 trigger_error() called at [/homepages/20/d503465712/htdocs/shops/ecs/includes/classes/db/mysql/query_factory.php:155]
#2 queryFactory->show_error() called at [/homepages/20/d503465712/htdocs/shops/ecs/includes/classes/db/mysql/query_factory.php:132]
#3 queryFactory->set_error() called at [/homepages/20/d503465712/htdocs/shops/ecs/includes/classes/db/mysql/query_factory.php:262]
#4 queryFactory->Execute() called at [/homepages/20/d503465712/htdocs/shops/ecs/includes/functions/functions_customers.php:39]
#5 zen_address_format() called at [/homepages/20/d503465712/htdocs/shops/ecs/includes/functions/functions_customers.php:132]
#6 zen_address_label() called at [/homepages/20/d503465712/htdocs/shops/ecs/includes/templates/carlisle_fresh/templates/tpl_checkout_stacked.php:111]
#7 include(/homepages/20/d503465712/htdocs/shops/ecs/includes/templates/carlisle_fresh/templates/tpl_checkout_stacked.php) called at [/homepages/20/d503465712/htdocs/shops/ecs/includes/templates/carlisle_fresh/templates/tpl_checkout_default.php:38]
#8 require(/homepages/20/d503465712/htdocs/shops/ecs/includes/templates/carlisle_fresh/templates/tpl_checkout_default.php) called at [/homepages/20/d503465712/htdocs/shops/ecs/includes/templates/carlisle_fresh/common/tpl_main_page.php:214]
#9 require(/homepages/20/d503465712/htdocs/shops/ecs/includes/templates/carlisle_fresh/common/tpl_main_page.php) called at [/homepages/20/d503465712/htdocs/shops/ecs/index.php:97]
[19-Sep-2015 17:23:03 Europe/London] PHP Fatal error: 1146:Table 'db588038315.ecs_address_format' doesn't exist :: select address_format as format
from ecs_address_format
where address_format_id = '2' ==> (as called by) /homepages/20/d503465712/htdocs/shops/ecs/includes/functions/functions_customers.php on line 39 <== in /homepages/20/d503465712/htdocs/shops/ecs/includes/classes/db/mysql/query_factory.php on line 155
I have sorted out the db error.HTML Code:http://jmi.edencraftsupplies.co.uk/index.php?main_page=checkout_shipping
I have done some digging and the file I am having this problem with is includes/auto_loaders/config.fec.php. I have no error logs.
Yes I renamed YOUR_TEMPLATE in the three locations. I have checked the coding and I had f:censored:d up. I had not done it. So I have just added/changed the code as per instructions. Still have the missing page. I have just checked on another PC it is not a cache problem on my Laptop.
Are all the files in the includes/modules/pages/ present for the module? do you have an extra file in the includes/modules/pages/login
I found an issue with the one page checkout enabled. If the customer's balance is $0, not with a free item but with a coupon discount, it repeatedly warns that they must choose a payment method. But no payment method is displayed. When I set "one page checkout" to false, then the confirmation page appears and the customer can checkout properly without any payment method. Is there a fix for this?
I am still having issues with the checkout part of this module. This problem occurs in all browsers and both desktop & laptop. This is a continuation from #2036 I am now getting this error logI have put down the complete log as I cannot pick out what is not irrelevant.Quote:
[03-Oct-2015 19:18:56 Europe/London] #1 file_get_contents() called at [/homepages/20/d503465712/htdocs/shops/ecs/includes/functions/plugin_support.php:38]
#2 plugin_version_check_for_updates() called at [/homepages/20/d503465712/htdocs/shops/ecs/ADMIN/includes/init_includes/init_fec_config.php:79]
#3 require(/homepages/20/d503465712/htdocs/shops/ecs/ADMIN/includes/init_includes/init_fec_config.php) called at [/homepages/20/d503465712/htdocs/shops/ecs/includes/autoload_func.php:48]
#4 require(/homepages/20/d503465712/htdocs/shops/ecs/includes/autoload_func.php) called at [/homepages/20/d503465712/htdocs/shops/ecs/ADMIN/includes/application_top.php:156]
#5 require(/homepages/20/d503465712/htdocs/shops/ecs/ADMIN/includes/application_top.php) called at [/homepages/20/d503465712/htdocs/shops/ecs/ADMIN/modules.php:10]
[03-Oct-2015 19:18:56 Europe/London] PHP Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /homepages/20/d503465712/htdocs/shops/ecs/includes/functions/plugin_support.php on line 38
[03-Oct-2015 19:18:56 Europe/London] #1 file_get_contents() called at [/homepages/20/d503465712/htdocs/shops/ecs/includes/functions/plugin_support.php:38]
#2 plugin_version_check_for_updates() called at [/homepages/20/d503465712/htdocs/shops/ecs/ADMIN/includes/init_includes/init_fec_config.php:79]
#3 require(/homepages/20/d503465712/htdocs/shops/ecs/ADMIN/includes/init_includes/init_fec_config.php) called at [/homepages/20/d503465712/htdocs/shops/ecs/includes/autoload_func.php:48]
#4 require(/homepages/20/d503465712/htdocs/shops/ecs/includes/autoload_func.php) called at [/homepages/20/d503465712/htdocs/shops/ecs/ADMIN/includes/application_top.php:156]
#5 require(/homepages/20/d503465712/htdocs/shops/ecs/ADMIN/includes/application_top.php) called at [/homepages/20/d503465712/htdocs/shops/ecs/ADMIN/modules.php:10]
[03-Oct-2015 19:18:56 Europe/London] PHP Warning: file_get_contents(http://www.zen-cart.com/downloads.ph...check&id=594): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /homepages/20/d503465712/htdocs/shops/ecs/includes/functions/plugin_support.php on line 38
[03-Oct-2015 19:18:56 Europe/London] #1 in_array() called at [/homepages/20/d503465712/htdocs/shops/ecs/includes/functions/plugin_support.php:42]
#2 plugin_version_check_for_updates() called at [/homepages/20/d503465712/htdocs/shops/ecs/ADMIN/includes/init_includes/init_fec_config.php:79]
#3 require(/homepages/20/d503465712/htdocs/shops/ecs/ADMIN/includes/init_includes/init_fec_config.php) called at [/homepages/20/d503465712/htdocs/shops/ecs/includes/autoload_func.php:48]
#4 require(/homepages/20/d503465712/htdocs/shops/ecs/includes/autoload_func.php) called at [/homepages/20/d503465712/htdocs/shops/ecs/ADMIN/includes/application_top.php:156]
#5 require(/homepages/20/d503465712/htdocs/shops/ecs/ADMIN/includes/application_top.php) called at [/homepages/20/d503465712/htdocs/shops/ecs/ADMIN/modules.php:10]
[03-Oct-2015 19:18:56 Europe/London] PHP Warning: in_array() expects parameter 2 to be array, null given in /homepages/20/d503465712/htdocs/shops/ecs/includes/functions/plugin_support.php on line 42
The issue is it doesn't want to connect with Zen-Cart.com to check for newer versions.
to bypass this modify:
\YOUR_ADMIN\includes\init_includes\init_fec_config.php
Change:
$zencart_com_plugin_id = 594;
to:
$zencart_com_plugin_id = 0;
When the plugin is 0 it bypasses the checking of the version
For this I have taken I new copy that was supplied as part of the v1.5.4 download and did the changes to the file. So that the only changes to the order.php file are for FEC. I have removed all the other file mods. Should I put them back in or wait?
I have disabled both the free charger and anything to do with discounts. Still not working. If I Fast and Easy Checkout = False that all ok.
It should use the free charger payment module, enabling that doesn't work?
I have re-installed and enabled free charger payment module. still nothing. I do have a long list of errors in my latest debug file. I have put them on a new thread
adb34,
Check your database and see if in fact that this table does not exist??Code:Table 'db588038315.ecs_address_format' doesn't exist
I am still trying to track down my problem. I cannot find in the documentation what files are over written and core over rights A part from the file changes
I have chased down the problem. It is the database I am using. I have the checkout working. I setup another site & database; crossed the two site over. new site with old database comes back error 500. old site with new database all OK. Just to chase down the database problem.
Further to my 'fun' with my shop.
When I view one of my databases in phpMyAdmin and 'click' on any of the name eg. abcde_address_book I am gettingHelpQuote:
#1046 No database selected
I have gone through and uploaded/installed all necessary files. However I do not have the option to choose Fast and Easy Checkout in my stores Configuration tab. I am assuming this is because I do not have an Install.sql patch. Any help would be appreciated! Thank you! !!!
Thank you for the quick reply. I just tried running the uninstall.sql and still nothing. Any other options?
the site is www.kieferoutdoor.com
Please verify the following files are present in your installation: (YOUR_ADMIN should be renamed to the name of your admin)
YOUR_ADMIN/includes/auto_loaders/config.fec.php
YOUR_ADMIN/includes/extra_datafiles/fec.php
YOUR_ADMIN/includes/init_includes/init_fec_config.php
YOUR_ADMIN/includes/installers/fec/1_12_0.php
...
YOUR_ADMIN/includes/installers/fec/2_1_4.php
YOUR_ADMIN/includes/installers/fec/1_12_0
YOUR_ADMIN/includes/languages/english/extra_definitions/fec.php
any errors in your /logs folder?
hello,
I try to install fast adn easy checkout, but do i need to install all the
sql statements into the database (update_1_0_5.sql till upgrade_1_11_2.sql)
regards,
Cees
I'm not sure where to start with the problem, so I was hoping someone could lead me in the right direction. I have FEC 1.15.3 installed on Zen Version 1.5.4 and another site running 1.5.3. It works great except for one major problem, when registering an account, it does not save the shipping address. The only way for a customer to specify a separate shipping address is to create the account, then go into their address book and add another address. Needless to say, it's causing some problems when people go through their order confirmations too quickly and don't notice that the address didn't save.
Sites
af-company.com
valuelogs.com
Thanks in advance!
Hi
I have a fresh install of zen cart 1.5.4 with the Tableau template version 1.6.9. I am preparing to install fast and easy checkout. There are several files in /includes/templates/tableau/templates which both tableau and FEC write to. I don't want to break the responsiveness of the template. Will FEC work using the shared files in /includes/templates/tableau/templates? IE: can I just leave these files as installed by the Tableau template and not upload the corresponding files from the FEC module?
tpl_checkout_confirmation_default.php
tpl_checkout_success_default.php
tpl_fec_confirmation_default.php
tpl_login_default.php
tpl_modules_create_account.php
thanks
Typically I replace those files (although they are very similar) and then since FEC isn't responsive "out of the box" I do something like this
Add the following stylesheets (they should be in the auto_loaders from FEC):
includes/templates/YOUR_TEMPLATE/css/auto_loaders/create_account_overrides.css
includes/templates/YOUR_TEMPLATE/css/auto_loaders/fec_confirmation_overrides.cssHTML Code:@media screen and (max-width: 768px){
.fec-easy-sign-up .fec-col-left, .fec-easy-sign-up .fec-col-right{
width: 100%;
}
.fec-cl-left, .fec-cl-right{
width: 100%;
border-right: 0px;
margin-right: 0px;
padding-right: 0px;
}
}
includes/templates/YOUR_TEMPLATE/css/auto_loaders/fec_confirmation_overrides.cssHTML Code:@media screen and (max-width: 768px){
.fec-easy-sign-up .fec-col-left, .fec-easy-sign-up .fec-col-right{
width: 100%;
}
.fec-cl-left, .fec-cl-right{
width: 100%;
border-right: 0px;
margin-right: 0px;
padding-right: 0px;
}
}
Also typically I will change the default red buttons to a medium to light shade of green. We want customers to "go" through checkout not "stop"HTML Code:@media screen and (max-width: 768px){
.fec-easy-sign-up .fec-col-left, .fec-easy-sign-up .fec-col-right{
width: 100%;
}
.fec-cl-left, .fec-cl-right{
width: 100%;
border-right: 0px;
margin-right: 0px;
padding-right: 0px;
}
}
Another note about Tableau / FEC in the auto_loaders
I usually change all the auto-loaders to load the jquery from the CDN and you need to make sure your only loading ONE jquery.
awesome bislewl! Thank you very much!
I am using Zen Cart 1.5.0 and FEC version 2.1.4 I am using for Modules Payment -(Ceon Manual Card v3.0.0) Ceon URI Mappings Manager, Ceon URI Mapping (SEO) Config.
1. A customer can place an order without issue when checking out as a guest unless they already have an account but decided they didnt want to log in that day. The cart rejects their order if the email is the same as what is in their account.
2. If they try to login with their password, they are denied because the cart says the email and or password is not valid.
3. If they request a new password via I forgot my password, a new password is sent, however it too is rejected when the customer tries to log in. Many jsut give up and call us or they go order somewhere else.
I have searched for solutions and have not found any. Perhaps I missed something in the 200 + ages of threads. I did find something I could try but would want advice to make sure that they are the correct steps for my situation.
From Silverphp.com
I am a bit nervous about messing with the database even with a backup especially this time of the year. Can anyone make any suggestions? Thanks in advance.Quote:
If you are a Zen Cart user and seeing this error (“Error: Sorry, there is no match for that email address and/or password”) while error then no wonder you are also using Integrated Checkout Without Account (COWOA) which has some issue with database and login query.
I was able to fix this error and posting solution here so that you can be able to fixed this without wasting your valuable time.
Step 1: Repair Database issue
Run these 2 queries from PHPMyadmin:
Code:ALTER TABLE customers CHANGE COWOA_account COWOA_account VARCHAR( 64 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0';
UPDATE customers c,
(
SELECT customers_id
FROM customers
WHERE COWOA_account = 1 AND customers_email_address NOT IN (
SELECT DISTINCT(customers_email_address)
FROM customers
WHERE COWOA_account = 0
)
GROUP BY customers_email_address
) t
SET c.COWOA_account = 0
WHERE c.customers_id = t.customers_id;
Step 2: Update login query for existing users
1. Open file in editor: “\includes\modules\pages\login\header_php.php”
2. Search $check_customer_query and you’ll see “AND COWOA_account != 1″ as a part of query
3. Commend OR remove it: “/* AND COWOA_account != 1 */ ” (without quotes).
Save file and try to login again, it would work like charm.
I am still working on this. In the admin I have the following settings: I will also note I just changed the Guest check out settings to show just the guest checkout instead of both options of logging in or guest checkout. Users still cannot checkout as a guest if they have an account.
Attachment 15839 Attachment 15840Attachment 15841
Still pulling hair out as this is affecting my business in a bad way. Thanks again for anyone who can help.
I've installed this module before with no problems, however I'm trying to reinstall it now on another site, and there seems to be no "install.sql" file with the package. Am I missing something?
Sorry for bring up an old thread...
The above sounded like just what i was after, but i could not get it to work...
in the end, i ended up editing
includes\classes\observers\class.esl.php
I changed...
to this...Code:function update(&$class, $eventID, $paramsArray) {
if ((FEC_EASY_SIGNUP_STATUS) == 'true') {
// redirect to ESL
zen_redirect(zen_href_link(FILENAME_LOGIN, '', 'SSL'));
}
}
Added the && ($isMobile) to the if statement to check before redirecting to Easy Signup and LoginCode:function update(&$class, $eventID, $paramsArray) {
if ((FEC_EASY_SIGNUP_STATUS) == 'true' && ($isMobile)) {
// redirect to ESL
zen_redirect(zen_href_link(FILENAME_LOGIN, '', 'SSL'));
}
}
and as far as i can tell, she is working...
http://www.nzlw.co.nz
Let me know your thoughts...
Ok, had to figure it out myself. Web host company upgraded php so defualt was 5.5. Had to tell zc 1.5.0 to use php 5.3 Did this by adding the following to my htaccess file
:shocking:Code:AddHandler application/x-httpd-php53 .php
Errors gone, users can now log in and use the cart as I have it set up. Until I upgrade again. :lookaroun:frusty:
Hi
We have upgraded to zen cart 1.5.4. using fast and easy checkout v2.1.4. We have installed eWAY Rapid 3.0. The selection bullet for eway is showing but we are unable to get the eway credit card input fields to display on the confirm order page
index.php?main_page=checkout&fecaction=null
Using firebug I can see the bullet does belong to eway with id pmt-eway_rapid
Does anything else need to be done to get the fields to display on the FEC confirm order page?
thanks
Never mind. I've got it sorted.
Yes, but for the benefit of those with precisely your symptoms, what was your problem? And what was the fix?
Hi
Is there any way I could get the "Company Name" box inserted into create account and guest account ..
I have spent a fair bit of money sorting out issues ,am using 1.15.3
Also trying to change country and county order ,if anyone able to help out
thanks
In the past I could have a onestep page or onepage checkout
Now it is in 3 steps. How can i go back to onepage checkout?
Just turn on the company field in ADMIN > CONFIGURATION > CUSTOMER DETAILS
Edit the template containing the field and you can move the country to come after the county field. We deliberately put the country field before the state field since the state field selection depends on which country has been selected.
Fast and Easy Checkout combines the login and create account into one page and combines the shipping and payment into one page.
Fast and Easy Ajax Checkout combines the login and create account into one page and combines the shipping, payment, and confirmation into one page. It also uses Ajax on the second page to avoid page reloads.
One Page Responsive Checkout combines everything into a single page with Ajax to avoid page reloads. Note: shipping and payment selections do not appear until the user has logged in. Once logged in, they appear using Ajax without reloading the page.
oops why didn't I see that before lol Company name as plain as day ..Thanks ..
Re change country/county .I've been though them all and can't find the right code or file ( I have basic basic knowledge )
Which file doe sit appear in I might stand a chance then as I sit and figure things out ..thanks
let me just say of all the plugins i have attempted to use for zen-cart, this author does a KILLER job. thank you.
this plugin, IMHO, makes the shopping experience on zen-cart far superior.
given all of that i have found a small BUG, that i think needs addressing. say, a customer places an order and uses a coupon that has a minimum value on it. the order meets the minimum value and the coupon gets accepted. prior to submitting the order, the customer edits his cart and removes some items so that the order now no longer meets the minimum order requirement for the coupon. the customer can still continue to check out with the existing coupon as it does not get re-validated.
i have tracked the problem down to includes/modules/pages/fec_confirmation/header_php.php
if the following two lines:
were moved to somewhere AFTER this line of code:Code:$order_total_modules->collect_posts();
$order_total_modules->pre_confirmation_check();
i think this problem would be resolved.Code:$discount_coupon = $db->Execute($discount_coupon_query);
those lines are currently on lines 139 and 140; they need to be called after line 243.
best.
The latest version of FEC doesn't have an install.sql, I tried to use the patches to update COWOA databases, but it failed causing my site to go down. I reinstalled my back of database, managed to get site going again. There is no admin/configuration/fastandeasycheckout listed. Any help would be much appreciated.
Thank you, yes the 2_1_6 from numinix site did work. Do I need to run all of the sql updates?
And another question, How do I implement Paypal Express for single page checkout? I get to comfirm order and the next page comes up with order pending. Never shows paypal or even a connection to paypal.
I need to move one of the left rows on checkout to the left as it is cutting off the pence/ or cents so if it's 1 pound and 10 pence it shows as 1.1 and cuts off the zero.
All that needs doing is to move the 1 side to make it a bit wider... I have done it before but cannot for the life of me find the post again Attachment 16030
Once I find the right file I can figure it out myself
thanks
OK. First answer to the question. Have you installed js/css loader = no.
Perfectly legitimate reason for this is that on a heavily customised site we already use a solution that does much of the same things. Installing another solution seems counter-intuitive and potentially problematic.
So, the question is, does anyone have guidance about where the various javascript files are required? The css files evidently are not a huge problem.
The javascript files are loaded contingently on certain pages. If any one has that information then it is going to save me time going though the code and working it out. (Or potentially just getting rid of the contingency) And I will be most grateful.
(By the way, I completely subscribe to the motivation behind the loader. It would just be nice if a solution was rolled into Zen rather than there being various solutions which most likely will conflict. Which is a general comment rather than any criticism of numinix.)
Will a new version of FEC be released for Zen Cart v1.5.5 in the near future?
Hello guys,
I'm sorry if I'm posting in the wrong thread, but I have no clue where to post this question.
I'm pulling my hair off my head trying to find out why Saturday delivery does not show on the catalog if I have it active (true) in the module configurations.
Any help will be deeply appreciated. http://preview.tinyurl.com/riosouza
(ZC version 1.5.4)
Thank you!
I just installed numinix-fec-119ca30 on Zencart 1.5.4. CSS JS Loader is also installed prior to installing FEC.
I'm using Paypal as the processor. I have zone shipping with two zones, US and Canada.
The regular registration checkout process seems to work fine.
I cannot get past step one of the Guest Checkout. I don't see any error messages on the page and no debug messages in cache. I double checked the class file edits and all looks correct.
For Guest Checkout, what is the next page I should see?
I see a flash of some other page on first click but nothing after subsequent clicks of the continue button.
I leave the same address button checked and do not check the newsletter checkbox.
What should I look for to fix?
Using Firbug console I see this error:
ReferenceError: check_form is not defined
URL referenced is:
https://MYSITENAME/index.php?main_page=no_account
MYSITENAME is my IP number temporarily.
this type of error is generally a js loading problem. and most likely a jquery problem.
i'm guessing that:
modules/pages/no_account/jscript_form_check.php
is missing.
see if you can track that file down; upload it and see what happens.
good luck!
Correct, there is no jscript_form_check.php in that folder. Unfortunately, the plugin folder is also missing the file. None of the /includes/modules/pages/* folders in the plugin download have that file anywhere. Checking must be done another way.
The other javascript operations seem to be working well. Changes on the page happen without reload depending on what you're doing where.
I'll continue going over the javascript files and see if there's something missing.
Any other ideas?
do you have this file:
includes/form_check.js.php
do you have a URL i can look at?
best.
Yes the file is there.
on the installer, it says:
Navigate via FTP to includes/modules/pages/create_account/ and backup then delete the following files:
jscript_addr_pulldowns.php
jscript_form_check.php
on_load_main.js
were those files deleted?
ok... please let me know if this works.
i see 2 errors; 1 of which looks like your own doing, the other error looks like it is part of the FEC plugin. although i could be wrong.
part of the install of FEC is this file:
includes/templates/YOUR_TEMPLATE/jscript/jquery/jquery_form_check.php
i would first compare your version to the downloaded version. it looks like around line 118, you have the following typo:
that looks like a small typo that you possibly made.PHP Code:
//original
function check_form_registration(form_name) {
//your code:
</radion check_form_registration(form_name) {
in addition, i am not sure what this function does! i can not find it elsewhere in the plugin or on my site.
i would change that line back to the original, and see if the error still exists.
if the error persists, i would change the code to the following:
making that change should resolve the function not found error.PHP Code:
//function check_form_registration(form_name) {
function check_form(form_name) {
please let us know what you find out!
good luck!
I compared the includes/templates/YOUR_TEMPLATE/jscript/jquery/jquery_form_check.php
in my template folder with the same file in numinix-fec-119ca30 using Meld. Both are identical. I uploaded the file again and saw no change. I don't have the code
anywhere in the file or any file. I don't have the string "radion" in any file on the site. I checked using:Code:</radion check_form_registration(form_name) {
Checked both local dev files and live server files.Code:$ grep -ri "radion" *
When I change the function name to just form_check in jqueyr_form_check.php, Firebug console then shows the error:
TypeError: field_value is undefined
which points to:
The field_value is set just before that line:Code:if (field_value == '' || field_value.length < field_size) {"
I'm thinking there is some javascript conflict somewhere but I'm not seeing it.Code:18 function check_input(field_name, field_size, message) {
19 if (jQuery('[name=' + field_name + ']') && (jQuery('[name=' + field_name + ']').attr("visibility") != "hidden")) {
20 if (field_size == 0) return;
21 var field_value = jQuery('[name=' + field_name + ']').val();
22 if (field_value == '' || field_value.length < field_size) {
23 error_message = error_message + "* " + message + "\n";
24 error = true;
25 jQuery('[name=' + field_name + ']').addClass("missing");
26 }
27 }
28 }
jonas,
you have changed your code as i now get the function not defined error. and i do NOT see the check_form_registration function.
and really the place for this file is:
includes/templates/ki_custom/jscript/jquery/jquery_form_check.php which now is not there or the permissions are wrong on it.
I've spent too much time on this already. I have no solution. There must be a javascripty thing I'm getting crossed up somewhere.
It may not even be this module, but I've removed it and started over. I may attempt it again in the future, but for now, I'll have to pass on it.
Thanks for the assistance.
I am having problems with 'forgotten password' (FP). The plugin does not seem to change the FP page to look something like the login screen. My forgotten password page. Or am I barking up the wrong tree and it should not change?
I have had this problem in v1.5.4 and it is still there with v1.5.5. template is Responsive Sheffield Blue