HTTP ERROR 500 after installation

Exwizmuser1

New Member
Hello guys,

For starters, my background is I'm a frontend/backend programmer and have been using Sendy for over an year now, so I have a solid experience.
Yesterday me and my team decided to switch to Mailwizz, so my experience regarding this particular app is basic at most.

The hosting for this project is a freshly aqcuired VPS ( 1 vCore(s), 2.4 GHz, 2 GB RAM, 10 GB SSD, Local RAID 10 ), running CentOS 6 + WHM.
The installation of the Mailwizz app went smoothly, the only requirements that were not met by default were the PHP extensions for mbstring, zip archive and phpinfo, which of course I solved by installing the extensions via WHM.
However after installation, when trying to access any of the backend, frontend or customer links, I would get a 500 error. Here are the links
http://toprichdeals.com/mapp/backend/
http://toprichdeals.com/mapp/frontend/
http://toprichdeals.com/mapp/customer/

I've repeated the installation process in a new folder http://toprichdeals.com/mapp2/ with the same results: flawless installation process, but 500 error afterwards.

Here's what I've tried for debugging:
- checked the database, as I thought that maybe the import was flawed, however the DB was populated with tables and it seemed fine.

- normally a 500 error means a fatal PHP error has occurred server-side, so naturally I activated display_error from WHM and from backend/index.php ( error_reporting(E_ALL); ini_set('display_errors', 1); ) The result after this was ... nothing, no error displayed, nothing changed, cPanel error logs also are empty, which was mind boggling
Here's a display of phpinfo http://toprichdeals.com/info.php

- gave 777 rights to the entire folder on the 2nd install (not a wise thing regarding security, but what the heck, I was trying anything at this point) but no change


So, any thoughts ?
 
Last edited:
@Juni - Most of the time the issue is that not all the files copied over FTP, like 99% of the cases.
My advice is to try to copy the files once again and make sure no file fails uploading.
You can also open a support ticket with your FTP access and also the url of the app so we can take a look and see what is going on.
 
Hello! I updated Ubuntu, and after that MailWizz stopped working. I updated MailWizz to the latest version, but MailWizz did not work. When I try to go to the list settings, error 500 appears. I ran diagnostics, as recommended here. Something is written there, but it does not mean anything to me - I do not understand. What do you advise?
 
Hello! I updated Ubuntu, and after that MailWizz stopped working. I updated MailWizz to the latest version, but MailWizz did not work. When I try to go to the list settings, error 500 appears. I ran diagnostics, as recommended here. Something is written there, but it does not mean anything to me - I do not understand. What do you advise?
After an OS upgrade (like Ubuntu), some required PHP extensions, permissions, or configurations might have changed or been reset, which can cause MailWizz to stop functioning correctly, even after updating it.
Please enable debug like: https://kb.mailwizz.com/articles/enable-debugging/ and then post here what errors do you have.
 
I think it is not safe to publish the report file here, because it contains logins and passwords. Please write, what part of the report file you need to provide for analysis. I myself do not understand anything about this. I just accidentally saw that it contains logins and passwords.
 
Last edited:
I'm not quite sure if I pasted the code into the file correctly init.php. The instructions on your link say to paste the code into line 16. The file with line 16 has by default */. Do I really have to replace this particular section of code? I put the code on advice GPT
before the line defined('MW_FORCE_DEBUG_MODE') or define('MW_FORCE_DEBUG_MODE', isset($_SERVER['REMOTE_ADDR']) && in_array($_SERVER['REMOTE_ADDR'], array_map('trim', explode(',', MW_DEVELOPERS_IPS))));
. But this is not line 16, but 23. The report starts with the following:
CException
Property "Lists.double_opt_in_confirmation" is not defined.

/var/www/webmaster/data/www/***.tech/mailer/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(145)

133 */
134 public function __get($name)
135 {
136 if(isset($this->_attributes[$name]))
137 return $this->_attributes[$name];
138 elseif(isset($this->getMetaData()->columns[$name]))
139 return null;
140 elseif(isset($this->_related[$name]))
141 return $this->_related[$name];
142 elseif(isset($this->getMetaData()->relations[$name]))
143 return $this->getRelated($name);
144 else
145 return parent::__get($name);
146 }
147
148 /**
149 * PHP setter magic method.
150 * This method is overridden so that AR attributes can be accessed like properties.
151 * @param string $name property name
152 * @param mixed $value property value
153 * @throws CException
154 */
155 public function __set($name,$value)
156 {
157 if($this->setAttribute($name,$value)===false)
Stack Trace


Does this text mean anything? or should I look further?
 
Does this text mean anything? or should I look further?
This error tells us that MailWizz is trying to use a field (double_opt_in_confirmation) that doesn’t exist in the database. That usually means the database structure is outdated. Please copy again the update files to your server and make sure that you don't have any errors during this process.
After that, run the update from browser and the error should go away. Let me know how it goes!
Also can you tell form which version of MailWizz to which version you make update ?

Best,
Laurentiu
 
Now I have downloaded version 2.7.0. Before the update I translated MailWizz to mode offline. After copying files from the folder to the server update in the update instructions (https://www.mailwizz.com/kb/upgrade-steps/), point 4 It says that to complete the update you need to go to the address https://www.yourdomain.com/backend/index.php/update. But there is no such addressing in the update file! When I go to this address, I get to https://www.yourdomain.com/backend/index.php/guest/index. What am I doing wrong?
Снимок экрана 2025-08-02 113237.png
 
Now I have downloaded version 2.7.0. Before the update I translated MailWizz to mode offline. After copying files from the folder to the server update in the update instructions (https://www.mailwizz.com/kb/upgrade-steps/), point 4 It says that to complete the update you need to go to the address https://www.yourdomain.com/backend/index.php/update. But there is no such addressing in the update file! When I go to this address, I get to https://www.yourdomain.com/backend/index.php/guest/index. What am I doing wrong?
From what I can see, you are viewing the contents of the update folder from the MailWizz v2.7.0 archive. This is correct. However, I noticed that on the right side of the screenshot, you are browsing only the backend folder inside the update, and it shows just the assets folder there.

That’s not the correct way to copy the update.
You need to do the following:
  • Go to the main update folder, where you see folders like apps, backend, customer, frontend, vendor, and files like index.php, composer.json, etc.
  • Select everything inside the update folder (all folders and files you see in the left panel of your screenshot).
  • Upload all of those contents to the root folder of your MailWizz installation on the server.
  • Overwrite all existing files and folders when asked.
After this, go to this link in your browser:
If everything was copied properly, this should launch the MailWizz update wizard and complete the upgrade, fixing the 500 error.

Best,
Laurentiu
 
Back
Top