Page 4 of 14

Posted: 2003-10-29 07:28:14
by Ormus
Please put a textfile called info.php on your webspace with the following content:

Code: Select all

<?php
phpinfo();
?>
And please post the link to that file here. I'll check it out then.

Posted: 2003-10-29 09:02:19
by -=[WeBsEcReTa]=-

Posted: 2003-10-29 09:31:27
by Ormus
The php on your webserver is too old. It's 4.0.4 and the function was introduced in 4.0.5. Sessions are also not activated. :(

p.s. I hope you're not paying money for the webspace. This version is WAY outdated, from march 2001 to be precise. I hope you can update it...

Posted: 2003-10-29 17:14:04
by -=[WeBsEcReTa]=-
the space Web is free, I cannot demand thanks for your help :grinking:

Posted: 2003-10-29 17:21:33
by Ormus
Sorry about that. :( But I wouldn't know how to make AMCphp work on your php settings. No sessions, no array handling. Would be very hard to do. Maybe you can find some other free php webspace?

Posted: 2003-10-29 17:36:41
by peloxi
Ormus wrote:Maybe you can find some other free php webspace?
free php webspace for WeBsEcReTa:

www.webcindario.com PHP Version 4.3.3

www.tripod.lycos.es PHP Version 4.3.2

Posted: 2003-10-29 18:23:57
by -=[WeBsEcReTa]=-
http://seguridadonline.webcindario.com/web/index.html
http://usuarios.lycos.es/segonline/web/index.html
http://seguridadonline.wwwpuntocom.com/web/index.html

jejejeje :hihi: :hihi:

they do not worry will look for a solution thanks to all for its aid. This text I translated it in google, excuses if this bad one.

Posted: 2003-11-10 14:51:59
by Ormus
New version released. See first post for details. Enjoy...

Posted: 2003-11-28 10:54:42
by trINItr0n
Hi, tanks for the nice script ... got in running locally now.

Had some problems tho:

- Had to insert a variable pictures_directory in main.php as I didnt want to put all in the main directory ...

- Cant get into the movie details with MS internet explorer, but worked fine with mozilla ...

- The cast list looks like :
Keanu Reeves (as Neo (Thomas A. Anderson)), Laurence Fishburne (as Morpheus), Carrie-Anne Moss (as Trinity), Hugo Weaving (as Agent Smith), Joe Pantoliano (as Cypher), Marcus Chong (as Tank), ...
And i cant click on one actor seperatly i just got one link like : http://192.168.92.1/movies/main.php?pag ... 0Reeves%20(as%20Neo%20(Thomas%20A.%20Anderson)),%20Laurence%20Fishbur ...
I used the IMDB (large pic) to get my data, my xml looks like this (maybe yours is bit different? ):

Code: Select all

   <Movie Number="498" Rating="7" OriginalTitle="Lost Highway" Director="David L
ynch" Country="USA" Category="Drama" Year="1997" Length="135" Actors="Bill Pullm
an (as Fred Madison), Patricia Arquette (as Renee Madison/Alice Wakefield), Balt
hazar Getty (as Pete Dayton), Robert Blake (as Mystery Man), Natasha Gregson Wag
ner (as Sheila), Richard Pryor (as Arnie), Lucy Butler (as Candace Dayton), Mich
ael Massee (as Andy), Jack Nance (as Phil), Jack Kehler (as Guard Johnny Mack),
Henry Rollins (as Guard Henry), Giovanni Ribisi (as Steve 'V'), Scott Co
ffey (as Teddy), Gary Busey (as Bill Dayton), Robert Loggia (as Mr. Eddy/Dick La
urent)" URL="http://imdb.com/title/tt116922/" Description="When Fred ... 
Greetz

Posted: 2003-11-29 10:54:25
by Ormus
trINItr0n wrote:Hi, tanks for the nice script ... got in running locally now.

Had some problems tho:

- Had to insert a variable pictures_directory in main.php as I didnt want to put all in the main directory ...
The script looks in the relative path for the pictures...
trINItr0n wrote: - Cant get into the movie details with MS internet explorer, but worked fine with mozilla ...
Never heard of that problem before... Can you put it online so I can check it?
trINItr0n wrote: - The cast list looks like :
Keanu Reeves (as Neo (Thomas A. Anderson)), Laurence Fishburne (as Morpheus), Carrie-Anne Moss (as Trinity), Hugo Weaving (as Agent Smith), Joe Pantoliano (as Cypher), Marcus Chong (as Tank), ...
And i cant click on one actor seperatly i just got one link like : http://192.168.92.1/movies/main.php?pag ... 0Reeves%20(as%20Neo%20(Thomas%20A.%20Anderson)),%20Laurence%20Fishbur ...
I used the IMDB (large pic) to get my data, my xml looks like this (maybe yours is bit different? ):

Code: Select all

   <Movie Number="498" Rating="7" OriginalTitle="Lost Highway" Director="David L
ynch" Country="USA" Category="Drama" Year="1997" Length="135" Actors="Bill Pullm
an (as Fred Madison), Patricia Arquette (as Renee Madison/Alice Wakefield), Balt
hazar Getty (as Pete Dayton), Robert Blake (as Mystery Man), Natasha Gregson Wag
ner (as Sheila), Richard Pryor (as Arnie), Lucy Butler (as Candace Dayton), Mich
ael Massee (as Andy), Jack Nance (as Phil), Jack Kehler (as Guard Johnny Mack),
Henry Rollins (as Guard Henry), Giovanni Ribisi (as Steve 'V'), Scott Co
ffey (as Teddy), Gary Busey (as Bill Dayton), Robert Loggia (as Mr. Eddy/Dick La
urent)" URL="http://imdb.com/title/tt116922/" Description="When Fred ... 
Do you have this setting in your settings.php?

Code: Select all

$_SESSION['ActorsSeparator'] = "imdb";
That should do the trick for content linking...

Posted: 2003-11-29 14:40:27
by trINItr0n
thanks m8 .. everything seems ok now :)

its running @ http://trini.hopto.org/movies/

dont have the problem with IE here on my laptop, ill post here what version my desktop has when im back at my studenthome.

btw .. no sql driven script on the way? should be very nice since the xml parsing is getting a bit slow with 500+ movies and still have to add some!

If u want i can write the xml -> sql tool. Already made one for the moviecollector of collectorz.com. But antp's moviecollector is mucho better ;)


Greetz

Posted: 2003-11-29 18:14:28
by Ormus
I wrote the script without SQL on purpose ;)

Posted: 2003-11-29 19:26:04
by trINItr0n
too bad :/

i wrote this some time ago : http://trini.smartschool.be/moviedb/ (u/p = movies/flicks)

might rewrite everything for antp but not much time atm and quite happy with ure xml script for now :)

btw do you know how i can make in mozilla the cursor changes when hoovering over a link? now it stays the default cursor and people cant really see there is a hyperlink ...

greetz

Posted: 2003-11-30 00:48:16
by Ormus
trINItr0n wrote:too bad :/

i wrote this some time ago : http://trini.smartschool.be/moviedb/ (u/p = movies/flicks)

might rewrite everything for antp but not much time atm and quite happy with ure xml script for now :)

btw do you know how i can make in mozilla the cursor changes when hoovering over a link? now it stays the default cursor and people cant really see there is a hyperlink ...

greetz
You can't change the cursor with html (afaik). But you can try to add a hoover line to the .css where you change the background of the link or something like that...

Posted: 2003-12-03 16:57:27
by Juise
Great script, just one little problem. Whenever you click on the 0-9 link at the top, it says "No search results found.". When you click on the "all" category and list by name its obvious that I have 11 movies that have numbers in the beginning of the title. Any suggestions?

Posted: 2003-12-03 17:35:41
by Juise
Ormus,

I just checked your demo @ http://amc.loben.net/demo/index.html it doesn't work there either.

One other thing, what does it take to reload the .xml file? I've made updates to it and they are not reflected on my pages.

Posted: 2003-12-03 21:59:46
by Ormus
I know about the problem, I'm just a little short on time right now (busy @work). I'll look into it asap.

XML reload: just close your browser and restart it. (technical: The xml is parsed at the start of every session. Closing your browser will end your session.)

Posted: 2003-12-03 22:13:10
by Ormus
Ok, I took the time and checked ;) minor copy&paste error, fixed it. Just redownload 0.9b5.

Posted: 2003-12-04 07:50:51
by Guest
Thanks for the quick fix, although I seem to have a new issue which didn't exist before. When looking at any particular movie this appears above the title

Warning: implode(): Bad arguments. in /path/to/public_html/movies/main.php on line 108

I have
$_SESSION['ContentLinking'] = false;
in my settings.php. but it still does it if its true or false.

Please don't take this as complaining, because I could never do this on my own. I'm just a simple Unix admin that doesn't have what it takes to be a programmer! :)

Posted: 2003-12-04 08:03:55
by juise
The previous post was me, I decided I should register :)

I just wanted to say I was wrong about it giving the error wether
$_SESSION['ContentLinking'] =

was false or true. It only gives the error if set to false.
Anonymous wrote:Thanks for the quick fix, although I seem to have a new issue which didn't exist before. When looking at any particular movie this appears above the title

Warning: implode(): Bad arguments. in /path/to/public_html/movies/main.php on line 108

I have
$_SESSION['ContentLinking'] = false;
in my settings.php. but it still does it if its true or false.

Please don't take this as complaining, because I could never do this on my own. I'm just a simple Unix admin that doesn't have what it takes to be a programmer! :)