Re: cvs: docweb /scripts gen_picture_info.php gen_picture_info_all_lang.php generation.sh rev.php

From: Date: Mon, 01 Nov 2004 21:38:10 +0000
Subject: Re: cvs: docweb /scripts gen_picture_info.php gen_picture_info_all_lang.php generation.sh rev.php
References: 1 2 3  Groups: php.doc.web 
Request: Send a blank email to doc-web+get-416@lists.php.net to get a copy of this message
On Monday 01 November 2004 20:20, Mehdi Achour wrote: > Nuno Lopes wrote: > >> On Monday 01 November 2004 02:20, Mehdi Achour wrote: > >>> didou Sun Oct 31 20:20:28 2004 EDT > >>> > >>> Modified files: > >>> /docweb/scripts gen_picture_info.php gen_picture_info_all_lang.php > >>> generation.sh rev.php > >>> Log: > >>> enable revcheck for smarty and peardoc, clean the image generators > >>> and the .sh script > >> > >> I have no idea if this commit did it... > >> > >> but picture generation scripts are now only running at 100% cpu power > >> and doing nothing on my system > >> > >> I'm using PHP 5.0.2 and everything worked fine yesterday. > >> I also noticed this error, using PHP 5.0.0RC3: > >> > >> Fatal error: Class name must be a valid object or a string > >> in /cvsroot/docweb/include/jpgraph/jpgraph.php on line 405 > >> > >> could this be related? > >> > >> FYI the rev.php works fine, the only scripts not working are using the > >> jpgraph > >> I also do not have a php4 cli with sqlite support > >> > >> Vincent > > > > Yep same here with php 5.1. There is a little problem somewhere. > > Anyway, don't you think it could be faster to have a table per language > > instead of having everything inside 'files'?... (you could then have > > primary keys on the file name) > > Nothing wrong on my side [1] for the picture generation. Can you try > debugging the problem on your side ? I didn't change nothing significant > in the scripts, just cleaned the spaces and used our CS tried some stuff... seems to be sqlite_query() I've already tried with new empty db's but didn't work it must be the code.. apache hasn't been restarted since it worked so sqlite can't be the problem. time for bed now, if not fixed tomorrow I'll take another look and create a very simple test script Vincent > > As for the SQL structure, I'm still reviewing the script and looking for > ways to make it better, I'll try with a table/language but I don't think > it's really needed. I'm gonne move the filenames to another table like > it's done for directories and will add index after changing the fieds > type (they're all TEXT for the moment :D) > > didou > > [1] didou@debian:~/cvs/docweb/scripts$ time php > gen_picture_info_all_lang.php > Generating php graphic for all languages... Done. > Generating smarty graphic for all languages... Done. > > real 0m0.375s > user 0m0.320s > sys 0m0.030s > didou@debian:~/cvs/docweb/scripts$ time php gen_picture_info.php php > The php documentation for all language don't exist. > The php documentation for ar language don't exist. > The php documentation for pt_BR language don't exist. > The php documentation for zh language don't exist. > The php documentation for hk language don't exist. > The php documentation for tw language don't exist. > The php documentation for cs language don't exist. > The php documentation for da language don't exist. > The php documentation for nl language don't exist. > The php documentation for fi language don't exist. > Generated images/revcheck/info_revcheck_php_fr.png > Generated images/revcheck/info_revcheck_php_de.png > The php documentation for el language don't exist. > The php documentation for he language don't exist. > The php documentation for hu language don't exist. > The php documentation for it language don't exist. > The php documentation for ja language don't exist. > The php documentation for kr language don't exist. > The php documentation for pl language don't exist. > The php documentation for pt language don't exist. > The php documentation for ro language don't exist. > The php documentation for ru language don't exist. > The php documentation for sk language don't exist. > The php documentation for sl language don't exist. > The php documentation for es language don't exist. > The php documentation for sv language don't exist. > The php documentation for tr language don't exist. > The php documentation for en language don't exist. > > real 0m4.126s > user 0m3.960s > sys 0m0.020s

« previous php.doc.web (#416) next »