Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

License Not Validated #28

Open
moonslice opened this issue Nov 9, 2021 · 40 comments
Open

License Not Validated #28

moonslice opened this issue Nov 9, 2021 · 40 comments

Comments

@moonslice
Copy link

I can't get into my license - says can't be validated. I can't get to phpmydirectory.com nor the manual nor the forum.

I've tried emailing Ben at [email protected]. I'm just hoping he gets my message and fixes it.

Ben said he would never require license validation if he shut down the server, so this is very upsetting. My whole career is on this Directory! It's horrible!!!!!!!!!!!!!!!!!!

@bjohnson045
Copy link
Owner

phpMyDirectory is now open source. You can download all of the source code here on GitHub which no longer requires a license.

@bjohnson045 bjohnson045 changed the title License Not Validated - Ben said this wouldn't happen License Not Validated Nov 9, 2021
@bjohnson045
Copy link
Owner

@moonslice You may view the manual here:
https://phpmydirectory.atlassian.net/wiki/spaces/PMDDOC/overview?homepageId=10748177

Please provide an email address and we can email you version 1.5.1.

@sirslmarx
Copy link

Moonslice did you get it working?

@moonslice
Copy link
Author

moonslice commented Nov 9, 2021

Ben - Thank you VERY much for replying to me.

  1. Please Please - you said that the license wouldn't be checked for validation if your servers stopped working. Can you refresh my site and then remove the server that is trying to validate? I'm afraid if I try to replace some open source files, I risk losing the little access I have if that fails - because I can still can see some pages in admin since my cache/cookies haven't changed, but that will fail if I screw up opensource or I close my browser or reboot.

  2. You can email the opensource code for 1.5.1 to [email protected]. I promise I will work on this once you get my 1.5.1 current site working again by refreshing my license.

@moonslice
Copy link
Author

Just in case you didn't see my email at the bottom of my last post...

You can email the opensource code for 1.5.1 to [email protected]

Thanks!!

@ukrbiz
Copy link

ukrbiz commented Nov 10, 2021

Same here, since 2008 running free local business directory. It is all mess now. I'm on 1.2.0 version. A lot of custom work, mobile adaptation and more. Upgrade to new version is not a option. Just need to logging to approve new listing. So far going this: Login directly to DB by phpmyadmin, finding new listing and change status there to active. But this is not a solution. If some one can help? please help!!! So many years are waisted

@moonslice
Copy link
Author

Hi Ben,

Please might you be able to email me the 1.5.1 opensource today? [email protected]

Thank you very much!!!!!!!

@falconsearch
Copy link

Hi Ben,

I am also facing the same issue as not able to login (CP folder),

already sent an email to [email protected] & [email protected]

We are using the version (v1.5.0) of phpMyDirectory.

Please help us as we all are waiting for the same to be resolved or else send us the open source code for the above version.

Thank you!!!!!

Repository owner deleted a comment from sirslmarx Nov 12, 2021
@bjohnson045
Copy link
Owner

@moonslice Files sent.

@bjohnson045
Copy link
Owner

@falconsearch Please provide an email address.

@falconsearch
Copy link

@falconsearch Please provide an email address.

Hi Ben,

Thanks for your prompt response.

My Email ID is [email protected]

We are using the version (v1.5.0) of phpMyDirectory.

Thanks & Regards

@emiltakas
Copy link

Hello Ben,

I'm facing the same problem. I would like to have the server link that needs validated deleted and please send me instructions on how to re-install it without losing any information on it. I have also send you an email please reply back with any instructions and the newest version as well. Thank you in advance.

@falconsearch
Copy link

Hi Ben,

Have sent many emails to [email protected] but we are yet to receive a reply.

Please guide us on how to resolve the License error issue as we are not able to access the admin panel.
Have shared my email ID previously & sharing it again ([email protected]) & our website is address is (https://uaebusinessdirectory.com)

Would have never bothered you if we had an in-house developer to upgrade our website to the opensource version , also we are very much afraid of losing the existing modification we have currently on the site.

We all are waiting for your kind reply & guidance.

Thank you!!!

@falconsearch
Copy link

Who ever is not able to access the Admin Panel & getting the License not validated Error message of PMD version V 1.5.0

You can upload & replace (admin_index.php & index.php) files available in CP folder of Open Source PMD version V 1.5.3 from this link: https://github.com/bjohnson045/phpMyDirectory/tree/master/cp

Just remove the below lines in admin_index.php & save the file, you will be able to access the CP without error as i am able to access the same...... my website is on PMD 1.5.0

In version 1.5.0 - the events folder was not there so the below script has to be removed from the file to access the Admin Panel.

``
$template_content->set('email_queue_moderate',$PMDR->get('Email_Queue')->getCountModerated());

$template_content->set('events',$db->GetOne("SELECT COUNT() FROM ".T_EVENTS));
$template_content->set('events_pending',$db->GetOne("SELECT COUNT(
) FROM ".T_EVENTS." WHERE status='pending'"));
$template_content->set('events_upcoming',$db->GetOne("SELECT COUNT() FROM ".T_EVENTS." e INNER JOIN ".T_EVENTS_DATES." ed ON e.id=ed.event_id WHERE ed.date_start BETWEEN NOW() AND DATE_ADD(NOW(), INTERVAL 7 DAY)"));
$template_content->set('events_rsvps',$db->GetOne("SELECT COUNT(
) FROM ".T_EVENTS_RSVP));

``
Let me know if anyone need more information on this topic.

Thanks!!!!!

@Rockman1955
Copy link

@bjohnson045

Hi Ben,

This is Fred from City of Palmdale Directory, Long time since we chatted,

I am still using the PMD v.10.46 and it has worked great, till 3 days ago!
I first wish to get the admin Control Panel login access to work, sot that I can login to approve any listing or users,

But it's giving me the Lic. Key errror,
Is there a fix for this till I can do the download of the new 1.5.3, I have downloaded the file and it requires 5.6 and above and the old 10.46 is on the PHP 5.2.x .

I just need a quick fix till I can setup on my hosting the new folder and or subdomain to then setup the install for the PHP 5.6 or higher to then run the import listing and work on copying template and/or maybe install a new template and make the site new and up to date.

Any help from you or the github user group will be greatly helpful...

Fred P.
CityPD

@esuorc
Copy link

esuorc commented Nov 22, 2021

Who ever is not able to access the Admin Panel & getting the License not validated Error message of PMD version V 1.5.0

You can upload & replace (admin_index.php & index.php) files available in CP folder of Open Source PMD version V 1.5.3 from this link: https://github.com/bjohnson045/phpMyDirectory/tree/master/cp

Just remove the below lines in admin_index.php & save the file, you will be able to access the CP without error as i am able to access the same...... my website is on PMD 1.5.0

In version 1.5.0 - the events folder was not there so the below script has to be removed from the file to access the Admin Panel.

`` $template_content->set('email_queue_moderate',$PMDR->get('Email_Queue')->getCountModerated());

$template_content->set('events',$db->GetOne("SELECT COUNT() FROM ".T_EVENTS)); $template_content->set('events_pending',$db->GetOne("SELECT COUNT() FROM ".T_EVENTS." WHERE status='pending'")); $template_content->set('events_upcoming',$db->GetOne("SELECT COUNT() FROM ".T_EVENTS." e INNER JOIN ".T_EVENTS_DATES." ed ON e.id=ed.event_id WHERE ed.date_start BETWEEN NOW() AND DATE_ADD(NOW(), INTERVAL 7 DAY)")); $template_content->set('events_rsvps',$db->GetOne("SELECT COUNT() FROM ".T_EVENTS_RSVP));

`` Let me know if anyone need more information on this topic.

Thanks!!!!!

Removing the " $template_content->set('email_queue_moderate',$PMDR->get('Email_Queue')->getCountModerated());" line will not let you send any moderated email. The count is not showing under moderated. Any fix for that?

@esuorc
Copy link

esuorc commented Nov 22, 2021

Removing the " $template_content->set('email_queue_moderate',$PMDR->get('Email_Queue')->getCountModerated());" line will not let you send any moderated email. The count is not showing under moderated. Any fix for that?

@falconsearch
Copy link

@esuorc

The above code is not required in our CP folder because we have not marked any built in Email Templates as required or Moderate, for us it works fine without any issues.
So no need to have the moderated email code if you have not marked or ticked any built in email templates available in your
directory..
URL for reference to built in templates: https://yourdomain.com/cp/admin_email_templates.php
Remove (yourdomain.com) & add your own to access the built in templates in your PMD

Check the link as this will provide more information on Moderated Emails: https://phpmydirectory.atlassian.net/wiki/spaces/PMDDOC/pages/10748205/Moderation

hope it helps.

@falconsearch
Copy link

@esuorc

Use the below code & should work without any issues as the same has been tested by me.

$template_content->set('email_queue_moderate',$db->GetOne("SELECT COUNT(*) FROM ".T_EMAIL_QUEUE." WHERE moderate=1"));

@CACI2020
Copy link

@bjohnson045

we have the same issue accessing the cp page on an old version of phpMyDirectory v.1.3.0, getting the error about license validation:
//
There was a problem validating your software license.

  • Verify your license code is in defaults.php
  • Try reissueing your license.
    //

is the above fix also valid for my version ? or let me know how to fix it.

I have tried this fix with the opensource of v.1.5.3 but it didn't work, I might need the open source of my version 1.3.0 please.

my email address is: [email protected]

Thank you

Error-CP-page

@moonslice
Copy link
Author

I'm having problems with getting 1.5.3 working with the opensource code provided.

Are there any detailed instructions for which php files from the opensource to copy?

And what are the 'pull requests' files? I saw there was "License removal - removes license input and restriction on install" and "Initial file import" but what are these and what do you do with them?

As suggested I copied the opensource cp admin_index.php and index.php files, which sort of got it working. But categories, locations and discount codes no longer worked. I finally got categories and locations in admin to work by copying the opensource admin_categories.php, admin_locations.php and admin_locations_setup.php files. But some things still didn't work. Like discount codes - even though I copied the admin_discount_files.php from opensource it still wouldn't show a menu item in admin to get to discounts codes. And the field for discount codes in member account still didn't show up in the payment section.

So I thought I would try copying all the php files that I could find, but there are so many in so many different folders I gave up trying to figure it out.

I tried copying the opensource defaults.php file (with the correct db and db user info) but that didn't work. Even though I had already gotten the admin home page to work by uploading the admin_index.php and index.php files, once I uploaded the opensource defaults.php file the admin home page stopped working. I noticed that the problem was the opensource didn't reference the license at all, and as soon as that was removed from the defaults.php file, that's what caused an error message in admin.

As a last resort, I tried to install a brand new Directory using 153 opensource files, thinking I could just tell it to use my existing directory database. But it wanted to overwrite my good existing database, which of course wouldn't work.

@sumitparkash
Copy link

sumitparkash commented Nov 30, 2021

Hi @bjohnson045,

I am also facing the same issue as not being able to log in (CP folder),

We are using version (v1.4.2) of phpMyDirectory.

Please help us to resolve the issue or Can you send the open-source code for version 1.4.2 to [email protected], please

Thank you!!!!!

@sumitparkash
Copy link

Who ever is not able to access the Admin Panel & getting the License not validated Error message of PMD version V 1.5.0

You can upload & replace (admin_index.php & index.php) files available in CP folder of Open Source PMD version V 1.5.3 from this link: https://github.com/bjohnson045/phpMyDirectory/tree/master/cp

Just remove the below lines in admin_index.php & save the file, you will be able to access the CP without error as i am able to access the same...... my website is on PMD 1.5.0

In version 1.5.0 - the events folder was not there so the below script has to be removed from the file to access the Admin Panel.

`` $template_content->set('email_queue_moderate',$PMDR->get('Email_Queue')->getCountModerated());

$template_content->set('events',$db->GetOne("SELECT COUNT() FROM ".T_EVENTS)); $template_content->set('events_pending',$db->GetOne("SELECT COUNT() FROM ".T_EVENTS." WHERE status='pending'")); $template_content->set('events_upcoming',$db->GetOne("SELECT COUNT() FROM ".T_EVENTS." e INNER JOIN ".T_EVENTS_DATES." ed ON e.id=ed.event_id WHERE ed.date_start BETWEEN NOW() AND DATE_ADD(NOW(), INTERVAL 7 DAY)")); $template_content->set('events_rsvps',$db->GetOne("SELECT COUNT() FROM ".T_EVENTS_RSVP));

`` Let me know if anyone need more information on this topic.

Thanks!!!!!

We are using version (v1.4.2). However in admin_index.php & index.php we have the below strange encoded code in the both files

<?php //003ab if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');@dl($__ln);if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}@dl($__ln);}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('Site error: the file <b>'.__FILE__.'</b> requires the ionCube PHP Loader '.basename($__ln).' to be installed by the site administrator.');exit(199); ?> 4+oV599N9QYRz9sFTfcmYu5U9Ccakt8Jx8mJLlHIBusE0SpQ0onhKyyYo2TGpuQ2Le7SQ0oEXnTr 2xPGEIma7LTKkxrj5Y+GmUGXtahVdlnjDa2jtL+BkdCszaoKuOrYlWfM4mBbNoHqLNda6x1bKR1P 4XMomrYJCfoTU8f8ZigIZu3zzU+/MG65sWUV/UTzbY6CIc1UO3hluDoOPRIIBSfVeF0ihX5ci9Hn yU3XzGWgjBOL+4yYMD3k/o5LDZHGTBHyRNrGppwdiXesOikM7n12O5k1erpH897YBn1owkNP6vu5 eNw63e95UqoqZsGtUnF96N1G3yNMD0zc3yydEvj8v3rA/e2/Q6+DKhBahpXi6Oq9YlqOjGuTrQVA KGX/ZcGzOIo1j4y0xyDrIR1O8oy6KWmkfpsSnRRFw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eH +C7urWM1SU+BNzttHqDunPqs+wqJoCoqQQfTPWPEXsR/fnN6skLzAihwpWcP+6kCqhVRuvRQNkGq EOIbwoDuWACo15O/T7zxJhls43+ltiEIdodJpTlfZpK6pW6hLH18DuvQ7kaBQBeSI6pCHHTN7tf0 ejhI2VnHByLuIKqoLC6gXwkd+7GbBItG+tiC24usmbEft1QpMQzIljW/

Does anyone know about this, please?

@falconsearch
Copy link

@sumitparkash

The error code mentioned by you clearly says to install the ionCube loader, so install the proper ionCube PHP loader & hope your site will load without any issues.

@sumitparkash
Copy link

sumitparkash commented Nov 30, 2021

@sumitparkash

The error code mentioned by you clearly says to install the ionCube loader, so install the proper ionCube PHP loader & hope your site will load without any issues.

The site has been working fine for the last 8-10 years. I am facing the same issue of License Not Validated when trying to access the admin panel.

You can upload & replace (admin_index.php & index.php) files available in CP folder of Open Source PMD version V 1.5.3 from this link: https://github.com/bjohnson045/phpMyDirectory/tree/master/cp

Just remove the below lines in admin_index.php & save the file, you will be able to access the CP without error as i am able to access the same...... my website is on PMD 1.5.0

We are using version (v1.4.2). and, in admin_index.php & index.php we have strangely encoded code I placed above.
How can I implement the above fix in my code so that I can access my admin again?

Thanks.

@falconsearch
Copy link

@sumitparkash

Just upload & replace your existing files in CP (admin_index.php & index.php)
Download from this link: https://github.com/bjohnson045/phpMyDirectory/tree/master/cp

Once you upload and replace your existing files with the above ones then below mentioned script has to be removed from file admin_index.php

Remove code from line 89:
$template_content->set('email_queue_moderate',$PMDR->get('Email_Queue')->getCountModerated());

Copy & Paste below code to line 89
$template_content->set('email_queue_moderate',$db->GetOne("SELECT COUNT(*) FROM ".T_EMAIL_QUEUE." WHERE moderate=1"));

then completely remove the below lines..

$template_content->set('events',$db->GetOne("SELECT COUNT() FROM ".T_EVENTS)); $template_content->set('events_pending',$db->GetOne("SELECT COUNT() FROM ".T_EVENTS." WHERE status='pending'")); $template_content->set('events_upcoming',$db->GetOne("SELECT COUNT() FROM ".T_EVENTS." e INNER JOIN ".T_EVENTS_DATES." ed ON e.id=ed.event_id WHERE ed.date_start BETWEEN NOW() AND DATE_ADD(NOW(), INTERVAL 7 DAY)")); $template_content->set('events_rsvps',$db->GetOne("SELECT COUNT() FROM ".T_EVENTS_RSVP));

It should work fine or else send me an email on ([email protected]) & will try to help you for FREE of cost.

@sumitparkash
Copy link

@sumitparkash

Just upload & replace your existing files in CP (admin_index.php & index.php) Download from this link: https://github.com/bjohnson045/phpMyDirectory/tree/master/cp

Once you upload and replace your existing files with the above ones then below mentioned script has to be removed from file admin_index.php

Remove code from line 89: $template_content->set('email_queue_moderate',$PMDR->get('Email_Queue')->getCountModerated());

Copy & Paste below code to line 89 $template_content->set('email_queue_moderate',$db->GetOne("SELECT COUNT(*) FROM ".T_EMAIL_QUEUE." WHERE moderate=1"));

then completely remove the below lines..

$template_content->set('events',$db->GetOne("SELECT COUNT() FROM ".T_EVENTS)); $template_content->set('events_pending',$db->GetOne("SELECT COUNT() FROM ".T_EVENTS." WHERE status='pending'")); $template_content->set('events_upcoming',$db->GetOne("SELECT COUNT() FROM ".T_EVENTS." e INNER JOIN ".T_EVENTS_DATES." ed ON e.id=ed.event_id WHERE ed.date_start BETWEEN NOW() AND DATE_ADD(NOW(), INTERVAL 7 DAY)")); $template_content->set('events_rsvps',$db->GetOne("SELECT COUNT() FROM ".T_EVENTS_RSVP));

It should work fine or else send me an email on ([email protected]) & will try to help you for FREE of cost.

@falconsearch
Many thanks for your support.

I replaced my existing files in CP (admin_index.php & index.php) with the files on https://github.com/bjohnson045/phpMyDirectory/tree/master/cp and everything working fine.

Do I need to
`Remove code from line 89:
$template_content->set('email_queue_moderate',$PMDR->get('Email_Queue')->getCountModerated());

Copy & Paste below code to line 89
$template_content->set('email_queue_moderate',$db->GetOne("SELECT COUNT(*) FROM ".T_EMAIL_QUEUE." WHERE moderate=1"));`

make these changes.

As everything is working fine. I just copy the file from the git reop and replace it with the old ones.

Thanks

@falconsearch
Copy link

@sumitparkash
Yes, remove and replace the code in line 89 if you have any moderated emails to sent out.

Happy to hear that you were able to access the CP.

Regards
Hamid

@esuorc
Copy link

esuorc commented Dec 2, 2021

Still unable to send an approved moderated email, even after changing line 89. After you press the approve green arrow, the message states 0 emails sent
If you click on the green check to approve it, the error message is Fatal Error (Uncaught Exception): Call to undefined method Email_Queue::approve() in /home/pauldin1/public_html/directory/cp/admin_email_queue.php on line 15
Thanks for help

@falconsearch
Copy link

@sumitparkash

Then remove the one i shared with below original script line 89 as it works for other PMD users including me....

$template_content->set('email_queue_moderate',$PMDR->get('Email_Queue')->getCountModerated());

@dounasth
Copy link

dounasth commented Dec 7, 2021

Hello everyone,

I have the same exact problem. I am on version 1.5.1 and now it cannot validate the license.
A lot of custom work done, first I must regain access and then upgrade to the open source version. I cannot do it without the full source code.

Is it possible to get from Ben all the open source code so that i can remove the validation and then merge for the upgrade?

My email is [email protected]

Thanx in advance

@moonslice
Copy link
Author

You can follow the instructions that @falconsearch detailed. They worked for me on 1.5.1 website.

But I also had to replace the php files for admin_categories, admin_locations and admin coupon codes to get those features working.

@dounasth
Copy link

dounasth commented Dec 8, 2021

thank you very much @moonslice , worked like a charm!

@cdrop
Copy link

cdrop commented Dec 22, 2021

Does anyone have the patch to go from 1.5.1 to 1.5.3?

@moonslice
Copy link
Author

Here's the 151 to 153 upgrads @cdrop . I couldn't make it work, but I always had to have Ben do something custom to make it work for us, so it might work fine for you. Just be sure you have backed up your whole site and database in case it doesn't work.

pmd 151 to 153 full upgrade.zip

@brennino
Copy link

Hello,
I have the same license validation problem but with an old phpmydirectory version 11.
I'm getting the license validation error on cp about 5 days ago; trying to fix the issue is important for my business.
Is there any way to have the unencrypted source code of version 11 too? Or a way to make the software validate my license again... Update to a newer version is not an options, too many changes have been done on the frontend code to make this update possible.

Thanks

@scottsam717
Copy link

Im having the same problem. I using 1.5.2 version with LOTS of custom upgrades and getting the following when trying to log into the control panel. So of course I don't want to do anything that will alter all the custom work thats been done. Here's the error:

There was a problem validating your software license.

  • Verify your license code is in defaults.php
  • Try reissueing your license.

Thanks in advance.

@szmulik
Copy link

szmulik commented Sep 26, 2022

Hello, I have the same license validation problem but with an old phpmydirectory version 11. I'm getting the license validation error on cp about 5 days ago; trying to fix the issue is important for my business. Is there any way to have the unencrypted source code of version 11 too? Or a way to make the software validate my license again... Update to a newer version is not an options, too many changes have been done on the frontend code to make this update possible.

Thanks

HI
did you get source code of version 11?
I have the same problem and use 11.04 version.

Thanks

@brennino
Copy link

Hello, I have the same license validation problem but with an old phpmydirectory version 11. I'm getting the license validation error on cp about 5 days ago; trying to fix the issue is important for my business. Is there any way to have the unencrypted source code of version 11 too? Or a way to make the software validate my license again... Update to a newer version is not an options, too many changes have been done on the frontend code to make this update possible.
Thanks

HI did you get source code of version 11? I have the same problem and use 11.04 version.

Thanks

Only for version 11.04, please send me an e-mail to [email protected] so I can give you some custom support for trying to solve your specific situation

@szmulik
Copy link

szmulik commented Sep 29, 2022

Hello, I have the same license validation problem but with an old phpmydirectory version 11. I'm getting the license validation error on cp about 5 days ago; trying to fix the issue is important for my business. Is there any way to have the unencrypted source code of version 11 too? Or a way to make the software validate my license again... Update to a newer version is not an options, too many changes have been done on the frontend code to make this update possible.
Thanks

HI did you get source code of version 11? I have the same problem and use 11.04 version.
Thanks

Only for version 11.04, please send me an e-mail to [email protected] so I can give you some custom support for trying to solve your specific situation

Thanks for your reply.

I already fixed it myself.

Regards,
Adam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests