Forums / Addon Admin Tools / Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

Views: 41,568

Results 121 to 140 of 152
7 Dec 2021, 1:21 PM
#121
rk123 avatar

rk123

New Zenner

Join Date:
Jan 2021
Posts:
32
Plugin Contributions:
0

Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

swguy:

Blank page guidance: https://docs.zen-cart.com/user/troubleshooting/blank_page/

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

7 Dec 2021, 2:13 PM
#122
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,109
Plugin Contributions:
56

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

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.

7 Dec 2021, 3:19 PM
#123
rk123 avatar

rk123

New Zenner

Join Date:
Jan 2021
Posts:
32
Plugin Contributions:
0

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

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

7 Dec 2021, 6:48 PM
#124
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,109
Plugin Contributions:
56

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

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.

13 Dec 2021, 3:15 PM
#125
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,109
Plugin Contributions:
56

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

19 Dec 2021, 3:04 PM
#126
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,109
Plugin Contributions:
56

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

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

10 Jan 2022, 3:54 PM
#127
zapme1 avatar

zapme1

Zen Follower

Join Date:
Jan 2011
Location:
Ohio
Posts:
114
Plugin Contributions:
0

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!

10 Jan 2022, 8:22 PM
#128
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,109
Plugin Contributions:
56

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.

10 Jan 2022, 8:41 PM
#129
zapme1 avatar

zapme1

Zen Follower

Join Date:
Jan 2011
Location:
Ohio
Posts:
114
Plugin Contributions:
0

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

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!

28 Jul 2022, 10:07 PM
#130
jasonshanks avatar

jasonshanks

Zen Follower

Join Date:
Feb 2009
Location:
atlanta GA
Posts:
297
Plugin Contributions:
0

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 ?

Zencart 1.5.6c PHP 7.2 Order Replacement AC Adapters and Power Cords Online https://www.missingcord.com

28 Jul 2022, 11:49 PM
#131
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

Version: v3.0.0 only runs on 1.5.7. You will need to use an older version or upgrade your cart.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

29 Jul 2022, 8:34 AM
#132
jasonshanks avatar

jasonshanks

Zen Follower

Join Date:
Feb 2009
Location:
atlanta GA
Posts:
297
Plugin Contributions:
0

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

Ah thank you so much! , I should have read the compatible versions list right under the downloads. 2.0.10 is the last version that supported my 1.5.6 cart. Thanks again.

Zencart 1.5.6c PHP 7.2 Order Replacement AC Adapters and Power Cords Online https://www.missingcord.com

3 Nov 2022, 1:22 PM
#133
francois avatar

francois

New Zenner

Join Date:
Sep 2012
Posts:
42
Plugin Contributions:
0

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

I am busy upgrading my store to ZenCart v158.
Upon installing this plugin's latest version, I get an Err 500 when accessing the admin/customers/add customer function.
The error log mentions a missing file admin/includes/languages/english/gv_name.php
It seems this fiile was renamed in ZC v158 to lang.gv_name.php

How can I fix it?
Any support thread about the new naming of language fles? (Can I expect similar problems with this/other plugin modules...)

3 Nov 2022, 2:01 PM
#134
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

This plugin (and many others) will need some love before they're fully ready for 1.5.8. For now, just add customers on the storefront.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

3 Nov 2022, 2:48 PM
#135
francois avatar

francois

New Zenner

Join Date:
Sep 2012
Posts:
42
Plugin Contributions:
0

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

swguy:

This plugin (and many others) will need some love before they're fully ready for 1.5.8. For now, just add customers on the storefront.

Thank you for the prompt reply, swguy.

Makes me feel really disheartened, though. It started with the hosting provider only supporting pHp8.0 and up from beginning October.
I had to fix a lot of errors on my v155 store in order to get it working. It is still running at the moment, albeit shakily. However, the amount of error logs created every day is just crazy, so I decided to upgrade to v157.

The v157 upgrade caused a lot of database integration problems though. (I did not perform the steps in the best order).

So this week I decided to start over (as per your suggestions). Then I discovered v158 was released. In order to buy some extra time until the next forced pHp upgrade, I decided to give it a go. Now, after many hours of work, I realize that many plugins will need an update before being compatible (e.g. due to different language file convention).

Unfortunately, after 10 years we have learnt to rely heavily on some plugins in order to get the work done in a sufficient way on a daily basis...

Seems I will have to start again on v157, hopefully encountering less integration problems.

Wish I knew about all this before I started...

3 Nov 2022, 3:10 PM
#136
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

Basically, it is "Welcome to the world of opensource".
As a small business it cost too much to buy premade that someone maintains constantly. But still cost too much to try and do it yourself with software that others have been gracious enough to share or share at a lower cost than they really should be making for it. For me it has tended to be a game of staying up to date enough not to get hacked but not so much that your software stops functioning at the level you need it to.

3 Nov 2022, 5:27 PM
#137
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

As a reminder, you can always hire this kind of work out. If you hire someone from the Commercial Help Wanted forum, you're supporting the product too.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

4 Nov 2022, 5:22 AM
#138
francois avatar

francois

New Zenner

Join Date:
Sep 2012
Posts:
42
Plugin Contributions:
0

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

wsworx:

Basically, it is "Welcome to the world of opensource".
As a small business it cost too much to buy premade that someone maintains constantly. But still cost too much to try and do it yourself with software that others have been gracious enough to share or share at a lower cost than they really should be making for it. For me it has tended to be a game of staying up to date enough not to get hacked but not so much that your software stops functioning at the level you need it to.

wsworx, as a small business owner, I agree 100% with your philosophy and have consented to the struggle many years ago. (In a way, I even enjoyed the challenges).

However, in the case of v158, it would have been nice to be warned in some way of the many additional pitfalls...

4 Nov 2022, 5:28 AM
#139
francois avatar

francois

New Zenner

Join Date:
Sep 2012
Posts:
42
Plugin Contributions:
0

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

swguy:

As a reminder, you can always hire this kind of work out. If you hire someone from the Commercial Help Wanted forum, you're supporting the product too.

swguy, I would love to be able to do that. But, residing in South Africa, the exchange rate just makes it basically impossible. (I have asked for quotes in the Help Wanted forum in the past). So, I am stuck with my own rusted programming skills. Luckily my son is a full stack developer, and I can bug him (when he is available) for some assistance (only costing me the price of a meal or two...)

4 Nov 2022, 10:58 AM
#140
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

However, in the case of v158, it would have been nice to be warned in some way of the many additional pitfalls...

Please create the change you want to see. It's the open source way. PRs are welcome to the documentation repo at
https://github.com/zencart/documentation

I have beefed up the Release Specific Upgrade Considerations page.
https://docs.zen-cart.com/user/upgrading/release_specific_upgrade_considerations/

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.