We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Mass Mailing and broken 500.phtml [Solved] | Forum

Ludovic A.
Ludovic A. May 14 '14
Hello,


I am aware that this topic may look like a duplicate. However as I did not find a solution after searching the forums, I assumed that I might not be the only one to struggle with this issue.

I have read the following threads (and some others) to find a solution:
Mass Mailing

Mass Mailing Problem
Mass Mailing not working
500
Cron Job
Manual sections for them aswell.


Here is my issue.

I have succesfully uploaded oxwall to my host from localhost, migrated the DB and set the correct path to server in the config files. Everything that was working in local works online.

I have then enabled emails by adding the smtp details. Password recovery emails are being sent correctly.

The issue happens when I proceed to send mass emails. Right after clicking "send", I end on an uninterpreted 500.phtml page (see a. below). Note that this happens both with debug mode on and off, I never get to see php/apache error.


The site is hosted by ovh, I have chosen the hosting to match oxwall requirements. Oxwall core has been updated to the latest version (as of 5/14/2014).

ow_log folder is empty.
I have checked the root .htaccess file (see b. below) which looks good.


Now I have to admit that first I am a non-professional with some experience in php and basic experience with apache servers, I also do not fully understand crons settings, even after reading the manual.
Would you have any suggestion on how to carry the trouble shooting? Any other threads that may bring a solution?


Thank you all for your time.

Luduo

(the site is in French but I will not surrender!)


a. By uninterpreted I mean that the browser displays the html code of "http://www.m2mse.fr/500.phtml":

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body style="font:18px Tahoma;"> Error 500<br />Internal Server Error. </body> </html>


b. .htaccess

Options +SymLinksIfOwnerMatch RewriteEngine On RewriteBase / AddEncoding gzip .gz AddEncoding gzip .gzip <FilesMatch "\.(js.gz|js.gzip)$"> ForceType text/javascript </FilesMatch> <FilesMatch "\.(css.gz|css.gzip)$"> ForceType text/css </FilesMatch> RewriteCond %{REQUEST_URI} !^/index\.php RewriteCond %{REQUEST_URI} !/ow_updates/index\.php RewriteCond %{REQUEST_URI} !/ow_updates/ RewriteCond %{REQUEST_URI} !/ow_cron/run\.php RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$ [NC] RewriteRule (.*) index.php

The Forum post is edited by ross May 14 '14
ross Team
ross May 14 '14
is error display turned on your server?
Ludovic A.
Ludovic A. May 14 '14
@ross: I'll check right ahead.


Meanwhile, I have tried to get the logs. It is a not a dedicated server. Most relevant logs I have found are these:
IP www.m2mse.fr -
[14/May/2014:10:36:47 +0200]
"POST /admin/mass-mailing HTTP/1.1" 302 26
"http://www.m2mse.fr/admin/mass-mailing"
chrome agent id


IP www.m2mse.fr -
[14/May/2014:10:36:48 +0200]
"GET /500.phtml HTTP/1.1" 304 -
"http://www.m2mse.fr/admin/mass-mailing"
chrome agent id


(I have removed IP and browser agent id for readability.)

The Forum post is edited by Ludovic A. May 14 '14
Ludovic A.
Ludovic A. May 14 '14
@Ross : Thank you for your quick answer :)
error display was OFF.

I have turned it ON and repeated all the steps (login, admin panel, members, mass mailing, selecting recipients, sending).

The result is exactly the same, 500.phtml, uninterpreted.


From the server statistics

live error log: empty
live web log:


ip www.m2mse.fr - [14/May/2014:10:36:47 +0200] "GET /ow_static/themes/origin/images/ajax_preloader_button.gif HTTP/1.1" 200 793 "http://www.m2mse.fr/admin/mass-mailing" agent id
ipwww.m2mse.fr - [14/May/2014:10:36:47 +0200] "POST /admin/mass-mailing HTTP/1.1" 302 26 "http://www.m2mse.fr/admin/mass-mailing" agent id
ip www.m2mse.fr - [14/May/2014:10:36:48 +0200] "GET /500.phtml HTTP/1.1" 304 - "http://www.m2mse.fr/admin/mass-mailing" agent id
ip www.m2mse.fr - [14/May/2014:10:36:48 +0200] "GET /favicon.ico HTTP/1.1" 304 - "-" agent id
ip www.m2mse.fr - [14/May/2014:10:57:50 +0200] "GET /favicon.ico HTTP/1.1" 304 - "-" agent id

The Forum post is edited by Ludovic A. May 14 '14
ross Team
ross May 14 '14
even with the debug turned on and error display - ON still just 500.phtml?

also you need to restart your server. did you do that?

The Forum post is edited by ross May 14 '14
Ludovic A.
Ludovic A. May 14 '14
@Ross: I have double-checked.
I had enabled the debug mode on the wrong declaration. My mistake.

With debug mode on, I have had an error message.
Message:Invalid argument `$email`File:/homez.544/mmsenbbo/www/ow_system_plugins/base/classes/mail.phpLine:67


Reading previous threads, I had checked that all emails complied with the format. The error came from a blank email field in the DB (ow_base_user).


After filling the blank, the error is gone, I get the success message.
I feel more than stupid for having wasted your time.
The topic can be deleted I suppose.


I did not know for the server restart. Yet as it is shared I am not sure how I can achieve this. I'll look for it later.

For the follow up, the emails have not yet been delivered. I will give the server some time.


Thank you ross.

ross Team
ross May 14 '14
Ok, thanks for letting us know. I'm going to mark this thread as solved
James Walter
James Walter Jan 2
Your typical class 8 engine is 14.8 liters and produces 560 horsepower. Houston Onsite Truck Repair