Please read before posting on the forums:
Welcome to the Maian Script World support forums. This is the only method for FREE support. If you require assistance or your problem is urgent, think about sending a donation first. Use your descretion with donations. Don`t expect too much of my time for a dollar. :p

You are required to register before you can post. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. Finally, there are no guarantees when a reply will appear. DO NOT post here and also use the contact option. Unless you have sent a donation, this will NOT speed up the response.

IMPORTANT! Posts in English ONLY please, thank you! Any other languages will be ignored.
SEARCH! Use the search option to see if your question has been answered on the forum before.
PRIVATE MESSAGES! Do NOT contact me via the private message option for support. Your message will be ignored.
DOCUMENTATION: Did you check to see if your question has been answered already in the script documentation?
AUTO ACCOUNT DELETION: If you have an account older than 2 months, but have made no posts or started no topics, it will automatically be deleted. Only register if you are thinking of posting. Thanks.

You are not logged in.

#1 18 July 2010 04:37:02

cohenmitch
Member
Registered: 4 July 2010
Posts: 9

Email Pipe Stopped working

The link to run the email pipe was working great. We have it set on a windows schedule to run ever 30 minutes and has been working fine for a few days.
It has now stopped working. If I manually put in the URL, the page just is blank. It doesn't show the usual STATS for the number of emails imported.  I reset our web server service and it didn't make a difference.
Do you have any ideas of what would stop the program from running? Everything else seems to be working fine still.
I am able to logon to the admin area and make updates. You can also submit new tickets through the normal ticket system.
The only thing that has stopped working is the pipe link at index.php?pipe=yes

Mitch

Offline

 

#2 18 July 2010 08:46:46

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 9 May 2006
Posts: 4443

Re: Email Pipe Stopped working

Hi Mitch,

I doubt this is anything to do with the script. Have you checked your server error log? Has anything changed on the server with regards to imap? When you log in to the e-mail account, how many messages are there for reading? Are there any with really large attachment files?

One possibility is its running out of memory reading the messages or a message in particular.


David.

Maian Script World
http://www.maianscriptworld.co.uk

Offline

 

#3 18 July 2010 08:57:33

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 9 May 2006
Posts: 4443

Re: Email Pipe Stopped working

Hi Mitch,

I have now added a error reporting option to Maian Support. Re-download and replace the following:

index.php
admin/index.php

In your 'control/defined.inc.php' file add:

define('ERROR_REPORTING', 'E_ALL');

Then re-run and see if any errors appear on screen instead of the blank page. Once the issue is sorted, set the reporting to:

define('ERROR_REPORTING', 0);


David.

Maian Script World
http://www.maianscriptworld.co.uk

Offline

 

#4 19 July 2010 14:52:24

cohenmitch
Member
Registered: 4 July 2010
Posts: 9

Re: Email Pipe Stopped working

Dear David:

I wasn't sure where you had the latest download. I saw the one on your main site at http://www. maiansupport.com/download.html
I went ahead and downloaded the program from this link nd updated the index files and error settings as you outlined, but it didn't show anything differently. It still came up with a blank page.

The interesting thing though is that I found three emails stuck in our inbox. I discovered it was importing all other emails that came through and I didn't realize it even though the page was showing blank. So, when I removed these three emails manually out of our email inbox, the script worked properly again and the CRON job count is showing properly.

So, the script was actually loading all the emails coming through except for these three. I'm not sure why this happened, but for some reason the system didn't like these three emails or had an index problem or something.

At any rate, it is working again now. If you have any other guidance, let me know.
I appreciate your response from earlier.
Mitch

Offline

 

#5 19 July 2010 14:59:45

cohenmitch
Member
Registered: 4 July 2010
Posts: 9

Re: Email Pipe Stopped working

I got the error to print out this time. I noticed in the file that all the other defines used a number for the parameter, and your example included 'E_ALL', so I changed it to a number 1, and it showed me the error.

you wrote: define('ERROR_REPORTING', 'E_ALL');
and I changed it to  define('ERROR_REPORTING', 1);

I moved back one of the problem emails into the inbox and here's what it said:

Fatal error: Cannot use object of type stdClass as array in D:\inetpub\help.siterightnow.com\classes\imap.php on line 120

I turned off the error reporting, and it just showed the blank screen as it did before.
I removed the problem email from the inbox and it worked fine again. There were three emails like this that caused the same issue.

Mitch

Offline

 

#6 19 July 2010 19:06:19

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 9 May 2006
Posts: 4443

Re: Email Pipe Stopped working

Hi Mitch,

Thanks for the information. Could you forward me one or all of the e-mails? It would appear as though the mime type of the e-mail is not in the allowed array and therefore its being rejected. I can put a check in place for that, but I`m curious as to what mime type is causing the rejection.


David.

Maian Script World
http://www.maianscriptworld.co.uk

Offline

 

Board footer

MSWorld Forum
© R. Andersson