troubles with php integration script

Ask questions, request features, or just complement us about our software and services.
Post Reply
njean
Posts: 6
Joined: Thu Aug 26, 2004 4:11 pm
Location: Monza, ITALY
Contact:

troubles with php integration script

Post by njean »

hi all, I just wrote a php page with portion of codes from the example.php (http://radiojean.tk) but song titles, listeners and other things aren't getting updated, they're still on the first value of when i installed the script...

in the toolbox i got a "Log Service TOuched (No Service)" message, is it correct?

what should I do in order to get updated datas?

thanks in advance,

n*jean
User avatar
Jay
Will work for food (Administrator)
Posts: 3029
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

go to the current stats page and lookup the error next to "Script Service"
- Jay
njean
Posts: 6
Joined: Thu Aug 26, 2004 4:11 pm
Location: Monza, ITALY
Contact:

Post by njean »

i get this:

"Script Service: Disabled (http://j3st3rbox.altervista.org/radio/catcher.php returned malformed header)"

and now? :)

p.s. when i run the catcher i get this : well if you see this then php is installed and catcher can at least be parsed, maybe try debugging me by adding ?debug=USERNAME in the url field

but if I type .....catcher.php?debug=USERNAME it doesn't change..


is it maybe caused by the fact that I can't change permissions on files?
User avatar
Jay
Will work for food (Administrator)
Posts: 3029
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

if it is not changing then it is possible that the variables are not getting to the script, the debug feature should display information about whether it was able to write and if it had proper permissions and such.
- Jay
njean
Posts: 6
Joined: Thu Aug 26, 2004 4:11 pm
Location: Monza, ITALY
Contact:

Post by njean »

so? what should I do?
User avatar
Jay
Will work for food (Administrator)
Posts: 3029
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

Unfortunately without any information about what server you are using and how it is configured I cannot help you much.
- Jay
njean
Posts: 6
Joined: Thu Aug 26, 2004 4:11 pm
Location: Monza, ITALY
Contact:

Post by njean »

should this help?

http://j3st3rbox.altervista.org/info.php

there's a custom version of php, in safe mode... i quote this:
Questa versione di php è ottimizzata per la comunità di AlterVista, ecco alcune note:

Tutti quegli script che presentano incompatibilità con il safe mode per problemi di accesso al filesystem per la gestione delle cartelle e degli uploads funzionano correttamente, si prenda questa sequenza di istruzioni:

mkdir("cartella");
$fh = fopen("cartella/prova.txt", "w");
fwrite($fh, "dato");
fclose($fh);
in english:

All those scripts that introduce incompatibilities with the safe mode for problems of access to the filesystem for the management of the folders and the uploads work correctly, take this sequence of instructions:

mkdir("folder");
$fh = fopen("folder/example.txt", "w");
fwrite($fh, "data");
fclose($fh);

if it's not going to work this way i think i'll wait for mysql support...
Post Reply