• Next Maxprog online event is scheduled to go live soon!

    You can attend the event here: live.maxprog.com
    You can already ask questions on the very same page.

    You can also add the event to your calendar by clicking on Add to Calendar
    or click on the YouTube button to subscribe to our channel.
  • Customer ideas and suggestions are our fuel!

    To allow you to submit feature requests hassle-free we just created a Feature Request page.
    You can access it here: feedback.maxprog.com/

    That page gives you access to all the feature requests that have been submitted so far, and,
    + You can upvote feature requests
    + You can subscribe to feature requests
    + You can check a feature request status

Subscription submission form asking for user name and password?

BMcDonald

Member
Hi. I just renewed support for the latest version 8.6.8 since the old one doesn't work with PHP 7. Everything seems to be working fine except my form for subscribing/unsubscribing is asking for a username and password when I submit it? Now it just says Not Authorized when I make a submission.

http://kickthemallout.com/page.php/KTAO_eNews_Letter_Subscription_Page

The error log says:

[15-Oct-2018 16:34:32 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/******/public_html/lm/html/subscribe_single_fixed.php on line 201
 

Attachments

BMcDonald

Member
I just replaced the newer version with the older version of subscribe_single_fixed.php and it works fine now. There's something wrong with the new version I just downloaded in the latest version.
 

BMcDonald

Member
Well, I don't have any of those files password protected. When I upload the older file, into the same directory, it doesn't ask for username and password. Works fine. My guess was that the newer file was asking for username and pass to post to the database? Good news it the old file works fine. Everything is working fine now. The immediate difference I can see is on the new one . . . you added this code at the top:

include( '../lm_settings.php' );

Here's the two different files.
 

Attachments

Last edited:
Top