From: Luis Z. <lz...@pa...> - 2006-06-08 11:37:24
|
Matthew: Thanks for your answer. I worked with getlist and gestlistall functions. The problem (news and users ) is when try to format date. I commented these lines and everything works fine. In addtion the original format date is better for non speaking english=20 people , avoiding thu , mon , etc . So people using w2003 (with xp it worked fine) and with a different=20 format date can get problems with these transformations, and commenting=20 these lines is a solution. Thanks again for your unvaluable effort. Luis Zorita Matthew Smith wrote: >Luis, > >What do you mean by 'not found'? Do you mean that the page times out >after a long time? Is the page being redirected to a different URL >that doesn't exist? Is there a javascript error? Or is there a PHP >error on the page? Does it give a HTTP code like 500 or 404? A 500 >error indicates that the PHP script crashed where as a 404 indicates >that apache was not able to find the script to run. > >You can try this: find line 203 of include/class.news.php (it is in >the definition of the function called getList). Insert this code: > echo $stmt; exit; >insert it before the $res =3D $GLOBALS etc... > >The page will not load properly and you should see a SQL statement. >Do you know how to run an SQL query? Run it on your Fez database - it >is only a select statement so won't change any data. Does the query >run ok? > >The next step is to take out the previous debugging and put a > print_r($res);exit; >in front of the line that says > return $res. > >Matt > >On 6/6/06, Matthew Smith <yo....@gm...> wrote: > =20 > >>Hi Luis, >> >>I'll get back to you on this later in the week and hoping to look at >>the reindexing issues soon too (I'm currently time sharing a few >>projects and have been concentrating on speed improvements for Fez but >>I'll put that aside and look at some of these anoyances this week.). >> >>Matt >> >>On 6/6/06, Luis Zorita <lz...@pa...> wrote: >> =20 >> >>>Hello again: >>>After some research inside the code I found that the problem is with >>>getList function. >>>For instance, if I comment: >>>$news=3DNews::getList(); in index.php then I see again the index.php p= age >>>If I comment: >>>$tpl->assign("list", User::getList()); in user.php then I can see agai= n >>>users.php page (of course I don't see the users) . >>>Unfortunatly my php knowledge is almost null , and I don't what to d= o >>>now ( I mean where is this function and how to modify ) >>>I presume function getListAll() has the same problem for my platform. >>>Thanks again >>> >>>Luis Zorita wrote: >>> >>> =20 >>> >>>>Hi all: >>>>I hope this problem will be the last step before the presentation of >>>>Fez- fedora In UNED. >>>>The problem is: >>>>When I manage news and I try to create a news entry I get Page not >>>>found. In addition the http:// localhost/fez/ page is not found. >>>>I delete the news entry from mysql and again I can get >>>>http://localhost/fez/. >>>>Of course the news entry is lost.. >>>>I don=B4t know if the value of nws_id (autoincrental) and currently = set >>>>to 5 has any relevance. >>>>A similar behavior happens when I try to create a new user. >>>>Is there a way to debug this problem. >>>>O.S. windows 2003 >>>>Thanks in advance >>>>Luis Zorita >>>> >>>> >>>> >>>> >>>>_______________________________________________ >>>>Fez-users mailing list >>>>Fez...@li... >>>>https://lists.sourceforge.net/lists/listinfo/fez-users >>>> >>>> >>>> >>>> =20 >>>> >>> >>>_______________________________________________ >>>Fez-users mailing list >>>Fez...@li... >>>https://lists.sourceforge.net/lists/listinfo/fez-users >>> >>> =20 >>> > > >_______________________________________________ >Fez-users mailing list >Fez...@li... >https://lists.sourceforge.net/lists/listinfo/fez-users > > =20 > |