 | |  | | | Classifieds Installation & Upgrades If you're having install or upgrade problems, post here. |
July 31st, 2007, 05:47 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Feb 2002
Posts: 181
| 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: 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
|
| |
July 31st, 2007, 07:40 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Check and make sure your language files are intact and properly there especially emails.php
|
| |
July 31st, 2007, 08:23 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Feb 2002
Posts: 181
|
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?
|
| |
August 1st, 2007, 06:45 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
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
|
| |
January 14th, 2008, 12:49 PM
|
#5 (permalink)
| | Junior Member
Join Date: Jan 2007
Posts: 11
|
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.
Last edited by xedd; January 14th, 2008 at 12:57 PM.
|
| |
January 14th, 2008, 01:14 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Feb 2002
Posts: 181
|
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...
|
| |
January 14th, 2008, 01:30 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
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.
|
| |
January 14th, 2008, 01:51 PM
|
#8 (permalink)
| | Junior Member
Join Date: Jan 2007
Posts: 11
|
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...
|
| |
January 14th, 2008, 01:59 PM
|
#9 (permalink)
| | Junior Member
Join Date: Jan 2007
Posts: 11
|
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...
|
| |
January 14th, 2008, 02:06 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
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 |
| |
January 14th, 2008, 02:22 PM
|
#11 (permalink)
| | Junior Member
Join Date: Jan 2007
Posts: 11
|
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.
|
| |
January 14th, 2008, 03:55 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
setcomments2.php thats not a file in our distribution?
I can check ours so far on classifieds all I see is the email file.
|
| |
January 14th, 2008, 11:06 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Feb 2002
Posts: 181
| Quote:
Originally Posted by Chuck S 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 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 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 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
|
| |
January 15th, 2008, 07:22 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
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.
|
| |
January 15th, 2008, 03:34 PM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Feb 2002
Posts: 181
|
That worked, thanks for posting your solution xedd.
|
| |
January 15th, 2008, 03:50 PM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Have a good evening.
|
| |
February 7th, 2008, 09:41 AM
|
#17 (permalink)
| | Member Verified Customer
Join Date: Feb 2002
Posts: 181
|
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.
|
| |
February 7th, 2008, 10:59 AM
|
#18 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 21
|
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.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 09:07 PM. | |