AMCphp - 1.0 released (bugfix + history report)
I forgot, another thing.
I created a file php in order to replace the menu of navigation of which here the code:
I am not a boss in programation... are lenient.
The problem is that when I goes on my page, I have this error message
thx
I created a file php in order to replace the menu of navigation of which here the code:
Code: Select all
<?php
session_start();
include('parser.php');
include('language_'.$_SESSION['currentLanguage'].'.php');
$rowcount = 1;
foreach($_SESSION['movieList'] as $arr)
{
// start at offset
// todo: fast direct jump possible ???
if ($row > $_SESSION['currentOffset']+1)
{
// check if rowlimit per page is reached
if ($rowCount >= $_SESSION['entriesPerPage'])
{
break;
}
$rowCount++;
}
}
?>
<html>
<head>
</head>
<body>
<p><center><b><h1><?
print $arr["PropertiesOwner"];
?></h1></b></center></p>
<p align="left"><b>Mise à jour le : </b><?
print $arr["AntMovieCatalogDate"];
?><br><b>E-Mail : </b><?
print "<A HREF=\"MAILTO:".$arr["PropertiesMail"]."?SUBJECT=Liste dvd\">".$arr["PropertiesMail"]."</a>";
?>
</body>
</html>
The problem is that when I goes on my page, I have this error message
But when I bring up to date my page, the messages disappear!! Could somebody say to me or come this problem?Warning: main(language_.php): failed to open stream: No such file or directory in c:\appserv\www\listedvd\titre.php on line 6
Warning: main(language_.php): failed to open stream: No such file or directory in c:\appserv\www\listedvd\titre.php on line 6
Warning: main(): Failed opening 'language_.php' for inclusion (include_path='.;c:\php4\pear') in c:\appserv\www\listedvd\titre.php on line 6
Warning: Invalid argument supplied for foreach() in c:\appserv\www\listedvd\titre.php on line 9
thx
The problem is not there. I will try to be more explicit...Ormus wrote:I fear I don't quite get what you want to do... You want to change the navigation in the top frame? Which file do you want to replace?
Initially:
- I would like to add, on my home page, instead of the complete list, the 15 more recent additions.Hello, I would like to know if it is possible to post the last fifteen films added to the launching of the page.
thx
to arrive to this result, I do not know too which process employed : To use a base of data mysql or to modify the file "main.php", which in my opinion would be the best way.
A few moments ago, you this answered me:
It is not really what I would like but that seems me to be a good compromise to reach that point. Indeed, if I use your process, would it be possible for me, ormisen passing by the options, to post only "X" more recent additions?For starters, you could add the Date column to the list and set default sorting on that column. This way the latest additions will always be shown first.
Is that what you want?
In the second time, concerning the post above:
I would like simply to know, if a benevolent heart, could help me to find the error in the code which I provided previously.The problem is that when I goes on my page, I have this error message
Warning: main(language_.php): failed to open stream: No such file or directory in c:\appserv\www\listedvd\titre.php on line 6
Warning: main(language_.php): failed to open stream: No such file or directory in c:\appserv\www\listedvd\titre.php on line 6
Warning: main(): Failed opening 'language_.php' for inclusion (include_path='.;c:\php4\pear') in c:\appserv\www\listedvd\titre.php on line 6
Warning: Invalid argument supplied for foreach() in c:\appserv\www\listedvd\titre.php on line 9
But when I bring up to date my page, the messages disappear!! Could somebody say to me or come this problem?
thx
I too much will not ask any... I am sorry for my English, I will wait to know if you understand me.
Thx
using bbclone
From Spain:
I need help using the bbclone, I wrote this code at the end of main.php
<?php
define("_BBCLONE_DIR", "../bbclone/");
define("COUNTER", _BBCLONE_DIR."mark_page.php");
if (is_readable(COUNTER)) include_once(COUNTER);
?>
and placed the bbclone at bbclone floder in the AMC folder.
The web is on free space in lycos-tripod, may be it the problem?
Sorry by my poor english;
http://usuarios.lycos.es/romfer80
I need help using the bbclone, I wrote this code at the end of main.php
<?php
define("_BBCLONE_DIR", "../bbclone/");
define("COUNTER", _BBCLONE_DIR."mark_page.php");
if (is_readable(COUNTER)) include_once(COUNTER);
?>
and placed the bbclone at bbclone floder in the AMC folder.
The web is on free space in lycos-tripod, may be it the problem?
Sorry by my poor english;
http://usuarios.lycos.es/romfer80
-
- Posts: 58
- Joined: 2004-11-18 12:48:40
Re: using bbclone
Hola yo tb soy Español este no es un foro que trate sobre BBclone
this is the AMC forum, isn´t bbclone forum
you should use
this is a spanish manual: http://www.sindominio.net/article.php3?id_article=20
and this the official web: http://bbclone.de/ , greetings.
-----------------------------------------------
My AMCphp www.MurnauVsBunuel.tk
this isn´t the problemromfer wrote:From Spain:
The web is on free space in lycos-tripod, may be it the problem?
this is the AMC forum, isn´t bbclone forum
you should use
this is a spanish manual: http://www.sindominio.net/article.php3?id_article=20
and this the official web: http://bbclone.de/ , greetings.
-----------------------------------------------
My AMCphp www.MurnauVsBunuel.tk
Last edited by Murnau_Vs_Buñuel on 2005-05-11 18:24:29, edited 2 times in total.
problems with XML?
I get an XML error when trying to use it with my XML export.
Error line 45...
couldn't see anything wrong with it though...
when removing line 45; it gave an error for line 44
...then line 43...
I've also removed line 46 and 44 but the error stayed
all " seems to have ended correctly?
Error line 45...
couldn't see anything wrong with it though...
when removing line 45; it gave an error for line 44
...then line 43...
I've also removed line 46 and 44 but the error stayed
all " seems to have ended correctly?
Zip it, mail it to ormus7577@go.com, I'll check it...
Compressed xml
I've tried it a few times allready and it comes back (last week & yesterday)
Recipient has reached disk quota.
Do you need a Gmail Invite?
Recipient has reached disk quota.
Do you need a Gmail Invite?
Re: problems with XML?
Couldn't see a problem either at first glance. Some text might be too long, gotta check it more detailed...SkyNET wrote:I get an XML error when trying to use it with my XML export.
Error line 45...
couldn't see anything wrong with it though...
when removing line 45; it gave an error for line 44
...then line 43...
I've also removed line 46 and 44 but the error stayed
all " seems to have ended correctly?
-
- Posts: 2
- Joined: 2004-08-15 10:54:35
Hallo Ormus
hoffe das es OK ist wenn ich auch hier in Deutsch schreibe.
Habe mir jetzt auch mal die php5 Version gezogen, entpackt und versucht zum laufen zu bekommen, leider ohne erfolg.
Wenn ich "http://127.0.0.1/AMCphp5/" aufrufe, erhalte ich nur die File und Ordner-Struktur. Auf der Seite steht dann ganz unten "Apache/2.0.53 (Win32) mod_ssl/2.0.53 OpenSSL/0.9.7e PHP/5.0.3 Server at 127.0.0.1 Port 80" Wie Du siehst ist php5 installiert und läuft auch.
Wenn ich die index.php5 direkt aufrufe sehe ich nur den Quelltext.
Kannst Du aus meiner Darstellung schon daraus schliessen was ich falsch mache.
Gruss
Redbaron2001
hoffe das es OK ist wenn ich auch hier in Deutsch schreibe.
Habe mir jetzt auch mal die php5 Version gezogen, entpackt und versucht zum laufen zu bekommen, leider ohne erfolg.
Wenn ich "http://127.0.0.1/AMCphp5/" aufrufe, erhalte ich nur die File und Ordner-Struktur. Auf der Seite steht dann ganz unten "Apache/2.0.53 (Win32) mod_ssl/2.0.53 OpenSSL/0.9.7e PHP/5.0.3 Server at 127.0.0.1 Port 80" Wie Du siehst ist php5 installiert und läuft auch.
Wenn ich die index.php5 direkt aufrufe sehe ich nur den Quelltext.
Kannst Du aus meiner Darstellung schon daraus schliessen was ich falsch mache.
Gruss
Redbaron2001
Halo Ormus,
XAMPP für Windows, ist ein komplett Paket mit php, mysql, perl und mehr, so kann man einfach einen eigenen Server einrichten ohne das man selbst viel Ahnung von der Materie hat.
http://www.apachefriends.org/de/xampp.html
Danke, ich schau mal in der Apache httpd.conf nach wie und wo ich etwas einstellen kann.
Gruss
Redbaron2001
XAMPP für Windows, ist ein komplett Paket mit php, mysql, perl und mehr, so kann man einfach einen eigenen Server einrichten ohne das man selbst viel Ahnung von der Materie hat.
http://www.apachefriends.org/de/xampp.html
Danke, ich schau mal in der Apache httpd.conf nach wie und wo ich etwas einstellen kann.
Gruss
Redbaron2001