Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]
Quote:
Originally Posted by
swguy
Thanks.
But I am still stuck with the blank page If I click on the send email link.
I could see other issues as well.
When I try to log in from the front end, I get whoops your session has expired message.
All these happened after I installed the add customers from admin 2.0 plugin.
Now I have removed all those files. But these problems still exist.
How to proceed further.
I am using: Zencart v1.5.1
PHP- Version 5.6.40
Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]
Quote:
Originally Posted by
RK123
Thanks.
But I am still stuck with the blank page If I click on the send email link.
I could see other issues as well.
When I try to log in from the front end, I get whoops your session has expired message.
All these happened after I installed the add customers from admin 2.0 plugin.
Now I have removed all those files. But these problems still exist.
How to proceed further.
I am using: Zencart v1.5.1
PHP- Version 5.6.40
Noting that there are no storefront/front-end files changed by this plugin; could you post the contents of one of the logs you're receiving, making sure to xxx-out your site's secret-admin-subdirectory name.
Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]
Quote:
PHP Fatal error: Maximum execution time of 60 seconds exceeded in /home/XXXXXXX/public_html/ adminxxxx /includes/functions/general.php on line 33
PHP Fatal error: Maximum execution time of 60 seconds exceeded in /home/ XXXXXXX /public_html/includes/classes/db/mysql/query_factory.php on line 482
PHP Fatal error: Maximum execution time of 60 seconds exceeded in /home/ XXXXXXX /public_html/adminxxxx/includes/functions/database.php on line 16
PHP Fatal error: Maximum execution time of 60 seconds exceeded in /home/ XXXXXXX /public_html/adminxxxxx/add_customers_backend.php on line 650
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4980709 bytes) in /home/ XXXXXXX /public_html/adminxxxxxxx/includes/functions/html_output.php on line 324
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /home/ XXXXXXX /public_html/includes/classes/db/mysql/query_factory.php on line 486
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted
(tried to allocate 20 bytes) in /home/ XXXXXXX /public_html/includes/functions/audience.php on line 60
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted
(tried to allocate 1048576 bytes) in /home/ XXXXXXX /public_html/adminxxxxxxx/add_customers_backend.php on line 651
PHP Fatal error: Maximum execution time of 60 seconds exceeded in /home/ XXXXXXX /public_html/adminxxxxxxxx/add_customers_backend.php on line 73
These are some of the logs
Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]
Quote:
Originally Posted by
RK123
These are some of the logs
Those logs don't make any sense to me, although it could be a by-product of running the (oldy-moldy) zc151 on PHP 5.6.40. I didn't think that zc151 would run on PHP versions above 5.4.
Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]
I've just submitted v3.0.0 of Add Customers from Admin for the Zen Cart moderators' review; I'll post back here when it's available for download.
This version (see https://github.com/lat9/add_customers_from_admin) is a heavy rewrite/refactor and now requires Zen Cart 1.5.7 (or later) for its proper operation.
Various PHP notices, warnings and deprecations were corrected.
The processing in the admin's add_customers_backend.php has been moved to /admin/includes/classes/addCustomers.php
Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]
Quote:
Originally Posted by
lat9
I've just submitted v3.0.0 of Add Customers from Admin for the Zen Cart moderators' review; I'll post back here when it's available for download.
This version (see
https://github.com/lat9/add_customers_from_admin) is a heavy rewrite/refactor and now requires Zen Cart 1.5.7 (or later) for its proper operation.
Various PHP notices, warnings and deprecations were corrected.
The processing in the admin's add_customers_backend.php has been moved to /admin/includes/classes/addCustomers.php
Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=1477
Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]
Hi All,
I'm running Zen Cart 1.5.7c and installed Add Customers from Admin v3.0.0.... All seems to be working fine so far! Great job!
I have the MOD "Extra Fields on Customer Sign Up" installed (also working fine), but I wanted to add these extra fields to "Add Customers from Admin v3.0.0".....
I've added the Labels & Text Fields to "STORE_ADMIN/add_customers.php.... All good there!
---------------------------
My Question.....
Where do I add the "extra-field" code so that the additional data is submitted with the Add Customer Form?
Does it go in "STORE_ADMIN/includes/classes/addCustomers.php" ??
If Yes, is that the only place?
Thanks!
Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]
Yes, you'll update the insertCustomer method in /YOUR_ADMIN/includes/classes/addCustomers.php to also insert those newly-added fields.
Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]
Quote:
Originally Posted by
lat9
Yes, you'll update the insertCustomer method in /YOUR_ADMIN/includes/classes/addCustomers.php to also insert those newly-added fields.
Great! Worked like a charm.... :cool:
Thanks for your reply lat9!
Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]
Hello there. I am using 1.5.6c for my store. When i install the plugin , it shows the link for it in admin/customers , but when i click on it I get a blank page. The log file says
PHP Warning: require(includes/admin_html_head.php): failed to open stream: No such file or directory in /home/user/domain/admin/add_customers.php on line 128.
Line 128 of that file is <?php require DIR_WS_INCLUDES . 'admin_html_head.php'; ?>
What am i missing here ?