From: skaill <sk...@ro...> - 2004-10-12 11:54:13
|
Phil, you can test at http://weberp.gocom.ca/weberp because if you test on your system with orders then it will work different. This particular situation is when there's no docs. Steve ----- Original Message ----- From: "skaill" <sk...@ro...> To: <web...@li...> Sent: Tuesday, October 12, 2004 7:42 AM Subject: Re: [Web-erp-developers] RE:OrderStatus.php > Have you tried doing exactly this... > > 1) At the Orders menu click on Print Order Reports. The bottom logo should > be fine... > 2) Click on the Create PDF submit button. The bottom logo should not > appear... > > Even if it does appear, I would still maintain there are problems with that > script because session.inc is not loaded and title is not set in some cases > where it appears they should be. > > ...but I also believe that logo cannot load because it can't know which > theme!!! > > Steve > > ----- Original Message ----- > From: "Phil Daintree" <we...@pa...> > To: <web...@li...> > Sent: Monday, October 11, 2004 4:22 PM > Subject: [Web-erp-developers] RE:OrderStatus.php > > > > Gents, > > > > Whats the snag with this script? > > > > Works ok for me? > > > > Phil > > > > On Monday 11 October 2004 15:15, skaill wrote: > > > At the very least I believe this part > > > > > > > include ('includes/session.inc'); > > > > $title = _('Order Status Report'); > > > > > > needs to be included in all cases at the very top of the script after > > > checking page security. As I say I'm not going to change it because it > > > would be better if whoever knows this script does it. > > > > > > Steve > > > > > > ----- Original Message ----- > > > From: "skaill" <sk...@ro...> > > > To: <web...@li...> > > > Sent: Sunday, October 10, 2004 9:55 PM > > > Subject: Re: [Web-erp-developers] /web-erp/css//images/menucurve.gif was > > > not found on this server. > > > > > > > Notice http://weberp.zion-it.com/weberp/PDFOrderStatus.php? displays > the > > > > webERP+sm.gif graphic fine when you first go in but after selecting > > > > Create PDF it does not. This issue has to do with the code in > > > > > > PDFOrderStatus.php, > > > > > > > not the way it is setup on zion-it. > > > > > > > > The code is incorrect. It only loads session.inc and header.inc under > > > > the following condition > > > > > > > > if (!isset($_POST['FromDate']) OR !isset($_POST['ToDate']) OR > > > > $InputError==1){ > > > > include ('includes/session.inc'); > > > > $title = _('Order Status Report'); > > > > include ('includes/header.inc'); > > > > > > > > This cannot be correct. I'm not going to play around with this file > > > > > > though > > > > > > > because someone else has been working on it lately and it would be > better > > > > > > if > > > > > > > they took a look... > > > > > > > > In fact I believe this is a fairly new file altogether. > > > > > > > > Steve > > > > > > > > ----- Original Message ----- > > > > From: "Stins, Dick" <DR...@Zi...> > > > > To: <web...@li...> > > > > Sent: Sunday, October 10, 2004 4:09 PM > > > > Subject: Re: [Web-erp-developers] /web-erp/css//images/menucurve.gif > was > > > > > > not > > > > > > > found on this server. > > > > > > > > > You are right. All images which are not displayed, had a missing > theme > > > > > > > > name > > > > > > > > > in their url (//). > > > > > > > > > > But the user demo does have a theme defined in table WWW_Users while > > > > > > still > > > > > > > > appears a link without a theme. > > > > > http://weberp.zion-it.com/weberp/PDFOrderStatus.php? > > > > > > > > > > the url of image not displayed is: > > > > > http://weberp.zion-it.com/weberp/css//images/webERP+sm.gif > > > > > > > > > > ----- Original Message ----- > > > > > From: "skaill" <sk...@ro...> > > > > > To: <web...@li...> > > > > > Sent: Sunday, October 10, 2004 12:04 PM > > > > > Subject: Re: [Web-erp-developers] /web-erp/css//images/menucurve.gif > > > > > was > > > > > > > > not > > > > > > > > > found on this server. > > > > > > > > > > > When I go there now it all seems to be working well. > > > > > > > > > > > > In PrintCustOrder there was no theme defined for the account > logged > > > > > > into > > > > > > > > and > > > > > > > > > > > so it didn't find the menucurve.gif. There are two // in a row > > > > > > instead > > > > > > > of > > > > > > > > > a > > > > > > > > > > > theme name. > > > > > > > > > > > > All accounts need to have a default theme = professional to start > > > > > > with. > > > > > > > I > > > > > > > > > > think the default should actually be loaded from config.php and if > > > > > > the account has it blank then the system would use that default > > > > > > theme. > > > > > > Also > > > > > > > > it > > > > > > > > > > > would be used when creating new accounts. > > > > > > > > > > > > Steve > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Stins, Dick" <DR...@Zi...> > > > > > > To: <web...@li...> > > > > > > Sent: Saturday, October 09, 2004 5:30 PM > > > > > > Subject: Re: [Web-erp-developers] > /web-erp/css//images/menucurve.gif > > > > > > was > > > > > > > > not > > > > > > > > > > > found on this server. > > > > > > > > > > > > > The server is ok. > > > > > > > > > > > > > > Only the extra cr/lf worries me, but I guess these are generated > > > > > > > by: - the filemanager when you edit a file. > > > > > > > or > > > > > > > - CVS when you checkout a file. > > > > > > > > > > > > > > With best regards, > > > > > > > > > > > > > > Dick Stins > > > > > > > ----- Original Message ----- > > > > > > > From: "skaill" <sk...@ro...> > > > > > > > To: <web...@li...> > > > > > > > Sent: Saturday, October 09, 2004 10:57 PM > > > > > > > Subject: Re: [Web-erp-developers] > > > > > > > /web-erp/css//images/menucurve.gif > > > > > > > > was > > > > > > > > > > not > > > > > > > > > > > > > found on this server. > > > > > > > > > > > > > > > I'm not sure what we're getting at here. Is > PrintCustOrder.php a > > > > > > > > > > > > problem? > > > > > > > > > > > > > > Does it try to access an absolute name instead of relative or > > > > > > > > > > something? > > > > > > > > > > > > > What I'm hearing so far is that some files have extra returns > and > > > > > > > > > > > > > > linefeeds > > > > > > > > > > > > > > > in them. I can't access the issue because the link does not > work > > > > > > > > for > > > > > > > > > me > > > > > > > > > > > > and > > > > > > > > > > > > > > > the attached file is unreadable. > > > > > > > > > > > > > > > > Dick, is there something I need to do to ensure all the files > > > > > > > > work > > > > > > > > on > > > > > > > > > > the > > > > > > > > > > > > > > server? > > > > > > > > > > > > > > > > Steve. > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > > From: "Stins, Dick" <DR...@Zi...> > > > > > > > > To: <web...@li...> > > > > > > > > Sent: Saturday, October 09, 2004 4:53 PM > > > > > > > > Subject: [Web-erp-developers] > /web-erp/css//images/menucurve.gif > > > > > > was > > > > > > > > not > > > > > > > > > > > > > found on this server. > > > > > > > > > > > > > > > > > /web-erp/css//images/menucurve.gif was not found on this > > > > > > > > > server. when: > > > > > > > > > http://www.weberp.org/web-erp/PrintCustOrder.php?TransNo=63 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > > > This SF.net email is sponsored by: IT Product Guide on > > > > > > > > > > > > ITManagersJournal > > > > > > > > > > > > > > > Use IT products in your business? Tell us what you think of > > > > > > them. > > > > > > > > Give > > > > > > > > > > > > us > > > > > > > > > > > > > > > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click > to > > > > > > find > > > > > > > > out > > > > > > > > > > > > > more > > > > > > > > > > > > > > > > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > > > > > > > > _______________________________________________ > > > > > > > > > Web-erp-developers mailing list > > > > > > > > > Web...@li... > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > > This SF.net email is sponsored by: IT Product Guide on > > > > > > > > > > ITManagersJournal > > > > > > > > > > > > > Use IT products in your business? Tell us what you think of > them. > > > > > > > > Give > > > > > > > > > > us > > > > > > > > > > > > > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to > > > > > > > > find > > > > > > > > out > > > > > > > > > > > more > > > > > > > > > > > > > > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > > > > > > > _______________________________________________ > > > > > > > > Web-erp-developers mailing list > > > > > > > > Web...@li... > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > This SF.net email is sponsored by: IT Product Guide on > > > > > > > > ITManagersJournal > > > > > > > > > > > Use IT products in your business? Tell us what you think of > them. > > > > > > Give > > > > > > > > us > > > > > > > > > > > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to > find > > > > > > out > > > > > > > > > more > > > > > > > > > > > > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > > > > > > _______________________________________________ > > > > > > > Web-erp-developers mailing list > > > > > > > Web...@li... > > > > > > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This SF.net email is sponsored by: IT Product Guide on > > > > > > ITManagersJournal > > > > > > > > > Use IT products in your business? Tell us what you think of them. > > > > > > Give > > > > > > > > us > > > > > > > > > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find > > > > > > out > > > > > > > > > > more > > > > > > > > > > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > > > > > _______________________________________________ > > > > > > Web-erp-developers mailing list > > > > > > Web...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.net email is sponsored by: IT Product Guide on > > > > > ITManagersJournal Use IT products in your business? Tell us what you > > > > > think of them. Give > > > > > > us > > > > > > > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find > out > > > > > > > > more > > > > > > > > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > > > > _______________________________________________ > > > > > Web-erp-developers mailing list > > > > > Web...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: IT Product Guide on > ITManagersJournal > > > > Use IT products in your business? Tell us what you think of them. Give > us > > > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > > > > > > more > > > > > > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > > > _______________________________________________ > > > > Web-erp-developers mailing list > > > > Web...@li... > > > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > > > Use IT products in your business? Tell us what you think of them. Give > us > > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > > _______________________________________________ > > > Web-erp-developers mailing list > > > Web...@li... > > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > -- > > Phil > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > > Use IT products in your business? Tell us what you think of them. Give us > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > _______________________________________________ > > Web-erp-developers mailing list > > Web...@li... > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |