Post by SimonDen » Mon May 20, 2024 4:05 pm

The problem is the following: In last step of checkout the system sends a error with two times of "Interal Server Error ". I don´t know what I have to do. On line 15 if haved change the route comand (like it was shown in the prevously speakings), that just delete the warning in my backoffice.


This is the LOG Sheet: Whats the meaing of this?

2024-05-20 9:19:00 - PHP Unknown: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/12/d13526659/htdocs/clickandbuilds/Shop/system/storagev0rayeyzdhrd/modification/system/engine/action.php on line 65
Last edited by SimonDen on Mon May 20, 2024 4:16 pm, edited 3 times in total.

Newbie

Posts

Joined
Mon May 06, 2024 12:29 am

Post by OSWorX » Mon May 20, 2024 4:08 pm

Unless you can provide some details, nobody will be able to help you here.
Please read the Forum Rules before proceeding.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by Cue4cheap » Mon May 20, 2024 9:27 pm

SimonDen wrote:
Mon May 20, 2024 4:05 pm
The problem is the following: In last step of checkout the system sends a error with two times of "Interal Server Error ". I don´t know what I have to do. On line 15 if haved change the route comand (like it was shown in the prevously speakings), that just delete the warning in my backoffice.


This is the LOG Sheet: Whats the meaing of this?

2024-05-20 9:19:00 - PHP Unknown: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/12/d13526659/htdocs/clickandbuilds/Shop/system/storagev0rayeyzdhrd/modification/system/engine/action.php on line 65
This is probably from an extension that isn't compatible with your PHP version. BUT there might be other errors you need to tell us about. The "deprecated" says to me that wouldn't cause an "Internal server error".
Please provide:
OC Version
PHP version
extensions you have installed (especially ones that are for the "last step of checkout")
Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by paulfeakins » Mon May 20, 2024 9:48 pm

SimonDen wrote:
Mon May 20, 2024 4:05 pm
system/storagev0rayeyzdhrd/modification/
This part means it's probably an extension.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by straightlight » Mon May 20, 2024 10:38 pm


Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Elevate » Tue May 21, 2024 12:12 am

The naming of the storage file path seems strange.

system/storagev0rayeyzdhrd/modification/

Have you had a malware scan run on your site?

ELEV8TE Website Development
Available for hire - please contact me at https://www.elev8your.com/contact
https://www.elev8your.com


User avatar
Active Member

Posts

Joined
Fri Jul 06, 2018 12:40 am
Location - Denver, Colorado, USA

Post by SimonDen » Tue May 21, 2024 4:44 am

Sorry it´s my first post.

My OC Version is Version 3.0.3.9. PHP Version I don´t know where I found it.

In line 79 its : if ($reflection->hasMethod($this->method) && $reflection->getMethod($this->method)->getNumberOfRequiredParameters() <= count($args)) {

In line 65 its: $class = 'Controller' . preg_replace('/[^a-zA-Z0-9]/', '', $this->route);
In line 66 its: $class = 'Controller' . preg_replace('/[^a-zA-Z0-9]/', '', (string)$this->route);


Thats nearly the same like yours or?

Malware was not in process.

Newbie

Posts

Joined
Mon May 06, 2024 12:29 am

Post by straightlight » Tue May 21, 2024 6:21 am

SimonDen wrote:
Tue May 21, 2024 4:44 am
Sorry it´s my first post.

My OC Version is Version 3.0.3.9. PHP Version I don´t know where I found it.

In line 79 its : if ($reflection->hasMethod($this->method) && $reflection->getMethod($this->method)->getNumberOfRequiredParameters() <= count($args)) {

In line 65 its: $class = 'Controller' . preg_replace('/[^a-zA-Z0-9]/', '', $this->route);
In line 66 its: $class = 'Controller' . preg_replace('/[^a-zA-Z0-9]/', '', (string)$this->route);


Thats nearly the same like yours or?

Malware was not in process.
In OC v3.0.3.9 release, it's around line 65-66.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by SimonDen » Tue May 21, 2024 3:43 pm

This code is inside line 66:

$class = 'Controller' . preg_replace('/[^a-zA-Z0-9]/', '', (string)$this->route);

Thats the same of like your coding in 79 or?

Newbie

Posts

Joined
Mon May 06, 2024 12:29 am

Post by ADD Creative » Tue May 21, 2024 5:01 pm

You can see what your system/engine/action.php should be at the following link.
https://github.com/opencart/opencart/bl ... action.php

As Cue4cheap pointed out, that would unlikely be the cause of the "Internal server error". You need to find and look in your PHP or server error logs, not the OpenCart one.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by SimonDen » Tue May 21, 2024 8:13 pm

Pfad: /clickandbuilds/Shop/system/storagev0rayeyzdhrd/logs/error.log

Is empty

Newbie

Posts

Joined
Mon May 06, 2024 12:29 am

Post by ADD Creative » Tue May 21, 2024 10:17 pm

SimonDen wrote:
Tue May 21, 2024 8:13 pm
Pfad: /clickandbuilds/Shop/system/storagev0rayeyzdhrd/logs/error.log

Is empty
That is the OpenCart error log. You need to look in the PHP or server error logs for the cause of the "Internal server error". You can use phpinfo() to for the PHP error log or ask your host.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by straightlight » Wed May 22, 2024 3:33 am

SimonDen wrote:
Tue May 21, 2024 3:43 pm
This code is inside line 66:

$class = 'Controller' . preg_replace('/[^a-zA-Z0-9]/', '', (string)$this->route);

Thats the same of like your coding in 79 or?
It's the same.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by SimonDen » Mon May 27, 2024 11:37 pm

The SMTP config was the problem.

Newbie

Posts

Joined
Mon May 06, 2024 12:29 am
Who is online

Users browsing this forum: No registered users and 64 guests