#1907 – Weird page not found on homepage

Posted in ‘Taxi Booking for Joomla’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Tuesday, 31 March 2020 08:13 BST
javierojo
  I got this error.. its the second time ..
its got something to do with being logged in and coming back after the session expires.. thats what i figured. some days had passed before going to the page both times.

it resolves by refreshing .. but it shouldnt happen ... below image is error log





This is the error_log document text:
[22-Mar-2020 09:59:10 UTC] PHP Warning: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' (this will throw an Error in a future version of PHP) in /home/ojonet5/public_html/development/24hrs/components/com_taxibooking/classes/security.php on line 28
[22-Mar-2020 09:59:10 UTC] PHP Warning: Use of undefined constant MCRYPT_MODE_CBC - assumed 'MCRYPT_MODE_CBC' (this will throw an Error in a future version of PHP) in /home/ojonet5/public_html/development/24hrs/components/com_taxibooking/classes/security.php on line 29
[26-Mar-2020 05:57:59 UTC] PHP Warning: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' (this will throw an Error in a future version of PHP) in /home/ojonet5/public_html/development/24hrs/components/com_taxibooking/classes/security.php on line 28
[26-Mar-2020 05:57:59 UTC] PHP Warning: Use of undefined constant MCRYPT_MODE_CBC - assumed 'MCRYPT_MODE_CBC' (this will throw an Error in a future version of PHP) in /home/ojonet5/public_html/development/24hrs/components/com_taxibooking/classes/security.php on line 29
[27-Mar-2020 02:49:19 UTC] PHP Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /home/ojonet5/public_html/development/24hrs/administrator/components/com_taxibooking/classes/dompdf/include/autoload.inc.php on line 83
[27-Mar-2020 02:49:19 UTC] PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/ojonet5/public_html/development/24hrs/administrator/components/com_taxibooking/classes/dompdf/include/stylesheet.cls.php on line 1054
[27-Mar-2020 03:06:02 UTC] PHP Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /home/ojonet5/public_html/development/24hrs/administrator/components/com_taxibooking/classes/dompdf/include/autoload.inc.php on line 83
[27-Mar-2020 03:06:02 UTC] PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/ojonet5/public_html/development/24hrs/administrator/components/com_taxibooking/classes/dompdf/include/stylesheet.cls.php on line 1054
[29-Mar-2020 18:56:41 UTC] PHP Warning: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' (this will throw an Error in a future version of PHP) in /home/ojonet5/public_html/development/24hrs/components/com_taxibooking/classes/security.php on line 28
[29-Mar-2020 18:56:41 UTC] PHP Warning: Use of undefined constant MCRYPT_MODE_CBC - assumed 'MCRYPT_MODE_CBC' (this will throw an Error in a future version of PHP) in /home/ojonet5/public_html/development/24hrs/components/com_taxibooking/classes/security.php on line 29
[31-Mar-2020 04:14:40 UTC] PHP Warning: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' (this will throw an Error in a future version of PHP) in /home/ojonet5/public_html/development/24hrs/components/com_taxibooking/classes/security.php on line 28
[31-Mar-2020 04:14:40 UTC] PHP Warning: Use of undefined constant MCRYPT_MODE_CBC - assumed 'MCRYPT_MODE_CBC' (this will throw an Error in a future version of PHP) in /home/ojonet5/public_html/development/24hrs/components/com_taxibooking/classes/security.php on line 29
Tuesday, 31 March 2020 12:22 BST
ronniee
RedSys for Taxi Booking
Hi Javier,

Archive email consists of a Review URL which holds encrypted data, TB encrypts this order data using PHP MCrypt library which was delivered with the old PHP packages, but recent PHP doesn't provide this library by default. So, you have to install this PHP MCrypt library manually on your server-side, you just have to inform your server administrator, they should do it for you.

We will investigate if we can change this library, if we find anything better, we will replace the encryption engine in TB later version.

Thanks & Regards
Ronniee
 
Friday, 03 April 2020 01:53 BST
javierojo
My system administrator replied that the PHP MCrypt library is indeed installed.. What is the next step?
Saturday, 04 April 2020 06:38 BST
shariar
Hi,

Please provide Temporary back end and FTP log in details to your website in a PRIVATE ticket so we can take a closer look and help you with your issue.

Issue description:

Ftp server:
Ftp user:
Ftp password:

Website URL:
Back end URL:
Super user:
Password:

We will take care of your issues as soon as we have the above information.

Kind regards.
 
Saturday, 25 April 2020 01:28 BST
javierojo
My apologies for taking so long to respond. Our work hours have been affected by current events.
I keep getting the error in the screenshot when I visit the site after a couple of days .. I just got it again.

As I said, our server administrator assured me that the Mcrypt extension is installed.. But he just told me that its deprecated for php versions after PHP 7.0, so its seems that I would have to use a lesser version of PHP for the issue to be solved.

I'm requesting some guidance to circumvent the usage of the Mcrypt extension.

1 I see in classes/security.php you have encrypt and decrypt functions that use Mcrypt

2 I see in helpers/common.php you have 3 crypt/decrypt functions that use Mcrypt

3 i see in classes/booking.helper.php that sendOrderArchiveEmail($row_queue, $elsettings) calls the security class and uses the encrypt method..
  • I see that it sends data to https://drivenot.com/review-form..
    Why would this load and give error only after not visiting the site for days??
    Why does it load at all if not in the process of leaving review..


I have a personal encrypting / decryption function below ..

Can I substitute the current ones with the functions below so that it doesn't use the deprecated core function? ..
of course adjusting it to keep intact the parameters that the original functions receive so that I dont have to change it everywhere. meaning only using whats necesary in the current parameters to return an encrypted or decrypted string

$string = "string to be encrypted or decrypted"
$action = encrypt/decrypt

function   customcrypt($string, $secret_key = 'secret_key', $secret_iv = 'secret_iv', $action = 'e')
	{
		$secret_key = $secret_key;
		$secret_iv = $secret_iv;
		$output = false;
		$encrypt_method = "AES-256-CBC";
		$key = hash('sha256', $secret_key);
		$iv = substr(hash('sha256', $secret_iv) , 0, 16);
		if ($action == 'e') {
			$output = base64_encode(openssl_encrypt($string, $encrypt_method, $key, 0, $iv));
		}
		else
		if ($action == 'd') {
			$output = openssl_decrypt(base64_decode($string) , $encrypt_method, $key, 0, $iv);
		}
		return $output;
	}



its imperative for PHP 7.3 support of this component..

Saturday, 25 April 2020 13:04 BST
ronniee
RedSys for Taxi Booking
Hi Javier,

I have tested the encrypt/decrypt method suggested by you, it seems working as expected. Actually, OpenSSL is the best alternative for Mcrypt so far for PHP 7+. We were thinking to implement that, but couldn't manage time. We will implement OpenSSL in our next release, there will be a major overhaul and we have to test extensively for PHP 5 also so that our PHP 5 customers don't get any problem.

Thanks & Regards
Ronniee
 
Sunday, 20 September 2020 06:04 BST
javierojo
cant close ticket..
cant open ticket...
cant update using live id..
cant download package..

Is it a paid update?
Monday, 21 September 2020 12:55 BST
martso
SumUp for Taxi Booking J4
Hi Javier,
your subscription has expired on 25th of May 2020.
If you wish to use support and get updates of Taxi Booking for Joomla you will have to renew your subscription.
Renewals cost £99.99 per year and you just need to log in to your account and go to Taxi Booking's subscription page to get the discounted price.

Hope this helps.
Kind regards.
 
Saturday, 26 September 2020 03:02 BST
javierojo
Ok..
2 questions... is the update a fix of the OpenSSL encrypt/decrypt method issue ?
if it is... is it similar to the method I suggested? what I what to know if its one of those "life or death" updates.. because if its only the encryption method fix .. then we dont really need it

in the current circumstances we are passing I have to give my boss a good reason to spend $20.00 on a script.. . imagine $99.00 .

thank you for the reply .. have a good weekend
Monday, 28 September 2020 14:19 BST
martso
SumUp for Taxi Booking J4
Hi Javier,
there are a few minor bug fixes and an addition of a new custom filed type: Date in Taxi Booking for Joomla version 4.3.5

You can see the changelogs here: https://kanev.com/docs/taxi-booking/change-log/75-taxi-booking-change-log-2020

Hope this helps.
Kind regards.
 

Please rate this ticket

Help us improve our support services by rating this ticket from one to five stars, according to how much you are satisfied from the handling of this ticket, one being not satisfied and five being very satisfied.

KANEV Web Development limited is not affiliated with or endorsed by the Joomla Project or Open Source Matters.

KANEV Web Development limited is registered in England and Wales #8902407