PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Installation & Upgrades (http://www.photopost.com/forum/classifieds-installation-upgrades/)
-   -   Moved serevers and emails are blank... (http://www.photopost.com/forum/classifieds-installation-upgrades/132751-moved-serevers-emails-blank.html)

Andy R July 31st, 2007 05:47 PM

Moved serevers and emails are blank...
 
I just moved a site to a new server and emails are still being sent but they are totally blank. I have been trying to track down what was sending these blank messages after members reported them. I finally setup a subscription and when a new ad was posted I got a blank email.

Here is an example:
Quote:

---------- Forwarded message ----------
From: support@site.com <support@site.com>
Date: Jul 31, 2007 7:29 PM
Subject:
To: andy@site.net
What should I do next to get this issue resolved? Are there some requirements from the server for this?

The server is running lighttp and is sending emails from vBulletin fine. I am running PP Classifieds 2.5.

Thanks,

Andy

Chuck S July 31st, 2007 07:40 PM

Check and make sure your language files are intact and properly there especially emails.php

Andy R July 31st, 2007 08:23 PM

I downloaded the emails.php file and it's all there, starts with <? and ends with ?>. I reviewed the other language files and all of them seems to have proper file sizes although editproduct1.php, editproduct3.php and showcat1.php are all only the open and close of the php files (which I assume is how they are supposed to be). I did not change anything with the files, just moved servers.

What should I try next?

Chuck S August 1st, 2007 06:45 AM

I would suggest you ask your host about this and check server error logs. Other than ensuring paths are correct and files are not corrupt this seems like a new server issue your host is going to need to clean up

xedd January 14th, 2008 12:49 PM

I'm having this issue also, it used to work on my old ISP but since moving it no longer works. Checked the emails.php, in the English folder and it is there and looks fine to me.

Was there any resolution to this problem?


I receive a blank empty email with no subject everytime a new classified ad is posted to my website. Going to attempt upgrading to the latest version of Photopost Classifieds as soon as my access to the Members are is available again.


Update:
Actually, its worse than I thought.. It is any and all emails sent out by Classifieds software, even for comment replies to classified ads.

Andy R January 14th, 2008 01:14 PM

Nope, my server admins are still pointing to the software and PhotoPost is saying it's the server. Lot's of empty emails have been sent and countless support requests asking why. Really, I am looking for another solution soon if I can't get this fixed...

Chuck S January 14th, 2008 01:30 PM

well your saying emails are blank. Nothing I see in my testing indicates blank emails so do you know what action is being performed? what email this is? Have you tried different actions to see what emails work and what emails do not?

You can also redownload the build and upload all the files except the config files.

There would have to be some indication here which email is blank so that we can check and see why you would have a blank email that no one else is reporting. We have not heard anything from you in months on this issue.

xedd January 14th, 2008 01:51 PM

Well I've spent the last hour debugging the problem and found the issue...

At some point PHP started to enforce that all .php scripts start with <?php rather than simply <? opening tags. I recall having this problem about 8 months ago for another custom script and used a debugging script to find out that the require_once() that is being done is calling emails.php and english.php but not including them because of the missing keyword <?php.

I do not know if v2.6 of Photopost Classifieds as updated all the scripts with <?php yet... There is also a flag in PHP configuration that can toggle the support of legacy <? tags but I don't remember what configuration element it is as of yet...

xedd January 14th, 2008 01:59 PM

Well I've spent the last hour debugging the problem and found the issue...

At some point PHP started to enforce that all .php scripts start with <?php rather than simply <? opening tags. I recall having this problem about 8 months ago for another custom script and used a debugging script to find out that the require_once() that is being done is calling emails.php and english.php but not including them because of the missing keyword <?php.

I do not know if v2.6 of Photopost Classifieds as updated all the scripts with <?php yet... There is also a flag in PHP configuration that can toggle the support of legacy <? tags but I don't remember what configuration element it is as of yet...

Second update:
So quick fix is to add "php" to the start of the emails.php <? tag or set "short_open_tags = On" in your php.ini configuration file. This will stop working with PHP6...

Chuck S January 14th, 2008 02:06 PM

Not a problem I can make sure that there is a <?php tag on the emails file thanks for letting me know more directly your issue so that it can be resolved. Server error logs and debugging is a wonderful thing ;)

xedd January 14th, 2008 02:22 PM

Not a problem, I grepped for a few more .php scripts in Photopost Pro and Photopost Classifieds and found a couple of more (setcomments2.php) with the same issue.

I would suggest you review all of the .php code to verifiy that this stuff has been eliminated in the current version.

Chuck S January 14th, 2008 03:55 PM

setcomments2.php thats not a file in our distribution?

I can check ours so far on classifieds all I see is the email file.

Andy R January 14th, 2008 11:06 PM

Quote:

Originally Posted by Chuck S (Post 1214608)
well your saying emails are blank. Nothing I see in my testing indicates blank emails so do you know what action is being performed? what email this is?

As I said in my original post, it's for subscription email notifications.
Quote:

Originally Posted by Chuck S (Post 1214608)
Have you tried different actions to see what emails work and what emails do not?

The only other emails I have tested are the contact seller emails. They are working fine.
Quote:

Originally Posted by Chuck S (Post 1214608)
You can also redownload the build and upload all the files except the config files.

Done, upgraded to 2.61. Tested the blank subscription email and it's still happening.
Quote:

Originally Posted by Chuck S (Post 1214608)
There would have to be some indication here which email is blank so that we can check and see why you would have a blank email that no one else is reporting. We have not heard anything from you in months on this issue.

I appologize for not reporting back after my server admins told me that they thought it could be a compatibility issue.

I have two pretty active classifieds and the members would really like it if I could get this issues resolved. Any suggestions or guidance on finding a solution is much appreciated.

Andy

Chuck S January 15th, 2008 07:22 AM

Do as instructed edit your emails.php script in the languages english directory under classifieds and changed the opening tag

Code:

Content visible to verified customers only.
to this

Code:

Content visible to verified customers only.

Andy R January 15th, 2008 03:34 PM

That worked, thanks for posting your solution xedd.

Chuck S January 15th, 2008 03:50 PM

Have a good evening.

Andy R February 7th, 2008 09:41 AM

I just wanted to post why I did not post back here after 6 months is because I don't feel like I can get decent support here. It's really hard for a business person to buy software, try to get it running, ask for support, be told it's the new server and have my server admins tell me it's the software. If you read the tone of post #4 your basically stating check the basics, if it's not that, it's the server. At some point we just throw our hands in the air and give up.

Nathan February 7th, 2008 10:59 AM

I stopped asking question here a long time ago Andy. It's a shame because I wish I could buy and use more of their products but this company doesn't seem to understand how to support their customers in an appropriate way.


All times are GMT -5. The time now is 11:10 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97