[Project_owners] PHP problem

Eric H. Jung grimholtz at yahoo.com
Mon May 8 12:14:59 EDT 2006


I asked some time ago about MySQL (or another database) on mozdev.org.
Maybe your data would be better stored in a database than on the
filesystem? In any case, it looks like there's no database available on
mozdev.org yet :(

David (Boswell), is database access still on the "to do" list for
mozdev.org?


--- Ramiro Aparicio <frisco82 at gmail.com> wrote:

> Finally I fixed all PHP4 not compatible code and the script is almost
> working.
> As the script can take as long as one min to complete I have cached
> it, so
> it will only parse the 15 webs if the stored result file is older
> than one
> day but I can make PHP write a file. It can not create a file nor
> modify and
> existing one and with CVS access I can not modify permission
> settings.
> There is an easy way to do so or I must contact an admin?
> 
> On 5/8/06, Ramiro Aparicio <frisco82 at gmail.com> wrote:
> >
> > It seems that the Domit! library is not PHP4 full compliant, at
> least the
> > XPath implementation, I have installed PHP4.4 in my computer and
> got the
> > same problem as in the server (PHP 4.3.11).
> >
> > So I will try to change the code to work under PHP4 but still I am
> not
> > sure why .php files produce no output.
> >
> >
> > On 5/8/06, Mats Lindblad <mats.lindblad at gmail.com> wrote:
> > >
> > > I am getting PHP source when I try to view it with the
> xml-extension.
> > > On 5/8/06, Ramiro Aparicio <frisco82 at gmail.com > wrote:
> > >
> > > > Hi,
> > > In my extension I have an XML file with data needed for the
> settings
> > > pane. This XML file has info I extracted from several webs using
> a
> > > greasemonkey script and some copy&paste. Up to now I had to
> change the file
> > > and release a new version of the extension everytime this is info
> changed
> > > (wich is not very frequent but it can be once every two weeks).
> > > To avoid this problem I wrote a php script using an XML php
> parser to be
> > > able to load the webs extract the info and write the document. It
> takes a
> > > lot to finish but the idea is to make the extension download it
> once a week
> > > so it should not be a huge problem. But for some reason I can get
> it work on
> > > mozdevserver, it works as it should in my computer (Apache + PHP
> > > 5.1.0RC1) and the Domit! library, the one I am using with some
> changes,
> > > states that works with PHP4 and PHP5 so that should not be the
> problem.
> > >
> > > I have tried changing the extension with different results:
> > > .xml is not parsed with php engine
> > > .php just return a blank page (this was before I tried .html so
> there
> > > was an error, or at least this PHP think so, but no error message
> is shown).
> > > .html returned an error about objects, but changing the code it
> does not
> > > complain but does not work as it should
> > >
> > > I created a special dir for the script and changed local.conf to
> turn on
> > > serve_as_is. The file is http://foxgame.mozdev.org/xml/index.html
> (or
> > > index.xml to see the source or index.php to see a white screen).
> > >
> > > Really I am unsure if anyone can help with this but if any of you
> has
> > > experience with php on mozdev server it will be great.
> > >
> > > --
> > > Hasta Otra
> > >
> > > Ramiro Aparicio
> > >
> > >
> > >
>
---------------------------------------------------------------------------------
> > > Webmaster de http://gs151.tk y http://www.climaxsl.es
> > > Desarrollador de FoxGame http://foxgame.mozdev.org
> > >
> > > _______________________________________________
> > > Project_owners mailing list
> > > Project_owners at mozdev.org
> > > http://mozdev.org/mailman/listinfo/project_owners
> > >
> > >
> > >
> > >
> > >
> > > --
> > > If there's anything more important than my ego around, I want it
> caught
> > > and shot now.
> > > -- Zaphod
> > >
> > > _______________________________________________
> > > Project_owners mailing list
> > > Project_owners at mozdev.org
> > > http://mozdev.org/mailman/listinfo/project_owners
> > >
> > >
> > >
> >
> >
> > --
> > Hasta Otra
> >
> > Ramiro Aparicio
> >
> >
> >
>
---------------------------------------------------------------------------------
> > Webmaster de http://gs151.tk y http://www.climaxsl.es
> > Desarrollador de FoxGame http://foxgame.mozdev.org
> >
> 
> 
> 
> --
> Hasta Otra
> 
> Ramiro Aparicio
> 
>
---------------------------------------------------------------------------------
> Webmaster de http://gs151.tk y http://www.climaxsl.es
> Desarrollador de FoxGame http://foxgame.mozdev.org
> > _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
> 



More information about the Project_owners mailing list