Author |
Topic |
|
ternot
Junior Member
126 Posts |
Posted - 21 Dec 2009 : 10:45:57
|
quote: Originally posted by McYoda
Hi ternot
I have the same problem as jalarab. Followed documentation, loaded xml export to the webserver and called the import.php script. Activated the xml file and gave the password. Clicking start, nothing really seems to happen. After calling index.php I get your template with no movies including some errors, which I can hardly read because of the given colors. You can see here: http://mcyoda.bplaced.net/index.php
Thanks for help Regards McYoda
Hi McYoda,
I could execute the import on your page, so it's working right now (I would recommend to change your password in the config.inc anyway)...
Maybe you forgot to select the xml file, or you didn't enter the password?
Best regards ternot |
|
|
ternot
Junior Member
126 Posts |
Posted - 21 Dec 2009 : 10:54:38
|
quote: Originally posted by skaman
I have the same problem as jalarab and McYoda.
http://dvd.kopfsalatmitei.ch/dvd2/
@ternot you speak German? thanks 4 help
I do
As I can see for your import, you need to create a "split" folder in the "import.php" directory manually or turn on "SafeMode" for your php enviroment...
Best regards ternot |
|
|
McYoda
Starting Member
Switzerland
12 Posts |
Posted - 21 Dec 2009 : 13:06:27
|
Hi ternot
Thanks a lot. There was a missunderstanding while reading the documentation. I interpreted the password for the import to be the same as set for the MySQL database in the config.inc. I now opened the file and found the entry "admin password". I guess that's the one to use for import. Maybe you could state this more clearly in the documentation?
Thanks anyway a lot for your help McYoda |
|
|
jalarab
Starting Member
14 Posts |
Posted - 21 Dec 2009 : 13:57:31
|
Hi ternot. i don't have other php scripts running. what can i do? i tried with a test database with 30 movies and waited for more than 15 minutes and nothing happened. thanks
|
|
|
ternot
Junior Member
126 Posts |
Posted - 21 Dec 2009 : 14:03:01
|
quote: Originally posted by jalarab
Hi ternot. i don't have other php scripts running. what can i do? i tried with a test database with 30 movies and waited for more than 15 minutes and nothing happened. thanks
I guess, that your webserver isn't capable of running php scripts... What kind of web server software are you running? (apache...) |
|
|
McYoda
Starting Member
Switzerland
12 Posts |
Posted - 29 Dec 2009 : 00:41:25
|
Hi ternot
Another question. I did not understand how to get it to work on the PopCorn NMT since I do not have a MySQL database (server) there, do I? What steps are necessary to let PopCorn show the Onex?
Thanks for help McYoda |
|
|
ternot
Junior Member
126 Posts |
Posted - 29 Dec 2009 : 18:22:14
|
Hi,
I would recommend to save a html file with the following content on the route of the internal drive of the popcorn:
<html>
<HEAD>
<LINK REL="StyleSheet" TYPE="text/css" HREF="A100_Index.css"></LINK>
<meta http-equiv="refresh" content="0; URL=http://mcyoda.bplaced.net/index.php?rs=&template=body_1&hdd=1&limit=15&value1=A">
<META http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<TITLE>Jipii</TITLE>
</HEAD>
<BODY FOCUSCOLOR="#000000" FOCUSTEXT="#FFFFFF" bgcolor="#000000"></body></html>
If your browse with the NMT to this file, it will open the webpage on your TV sceen...
Best Regards
quote: Originally posted by McYoda
Hi ternot
Another question. I did not understand how to get it to work on the PopCorn NMT since I do not have a MySQL database (server) there, do I? What steps are necessary to let PopCorn show the Onex?
Thanks for help McYoda
|
|
|
henrinaiara
Starting Member
Indonesia
22 Posts |
|
jalarab
Starting Member
14 Posts |
Posted - 02 Jan 2010 : 06:32:32
|
quote: Originally posted by ternot
quote: Originally posted by jalarab
Hi ternot. i don't have other php scripts running. what can i do? i tried with a test database with 30 movies and waited for more than 15 minutes and nothing happened. thanks
I guess, that your webserver isn't capable of running php scripts... What kind of web server software are you running? (apache...)
ii
Hi ternot i have a apache server |
|
|
ternot
Junior Member
126 Posts |
Posted - 02 Jan 2010 : 08:49:59
|
Then please check the documentation of the server for enabling php and mysql functionality... :-) |
|
|
reggi
Starting Member
20 Posts |
Posted - 12 Jan 2010 : 18:49:05
|
Hi,
first thx for the wonderfull tool you have made but for some reason i can't figure out why it's not working for me.
I have installed WAMP (PHP, Apache, MySQL, PHPMyAdmin) on my pc to test your plugin.
When i open http://localhost/inport.php I get the folowing errors
Notice: Undefined index: file in C:\Web\wamp\www\import.php on line 15 Notice: Undefined index: task in C:\Web\wamp\www\import.php on line 16 Notice: Undefined index: visual in C:\Web\wamp\www\import.php on line 17 Notice: Undefined index: counter in C:\Web\wamp\www\import.php on line 18 Notice: Undefined index: incremental in C:\Web\wamp\www\import.php on line 19 Notice: Undefined index: importpwd in C:\Web\wamp\www\import.php on line 20
under these 5 lines i get an window where i can chose my XMl file and click on start. Wen I do this, i get to the following errors
Notice: Undefined index: file in C:\Web\wamp\www\import.php on line 15 Notice: Undefined index: importpwd in C:\Web\wamp\www\import.php on line 20
and my browser (firefox) is reloading this page for ever and really really fast :p The script did make a folder called split in my root folder. There are 8 XML files in it, don't know if there has to more or not.
do you know what i can do about this? thanks |
Edited by - reggi on 12 Jan 2010 19:20:57 |
|
|
ternot
Junior Member
126 Posts |
Posted - 13 Jan 2010 : 09:27:47
|
Hi reggi,
I think this is a matter of configuration...
Can you try to insert
error_reporting(E_ALL ^ E_NOTICE);
at line 2 of the index.php and import.php files? |
|
|
reggi
Starting Member
20 Posts |
Posted - 13 Jan 2010 : 10:42:21
|
Hi
I have done that, I hope you mean this for the import.php:
<?php error_reporting(E_ALL ^ E_NOTICE); session_start(); ...
Now the errors are all gone, so that's good. But when i press start then it's still the same. When I look into my task manager i see that the used memory of firefox is increasing all the time (after 20 minutes it's 700mb)
at my index.php I still get errors but let's see that later.
Is it maybe because i'm running it on a localhost?
btw, my movies are at c:\database\Films\ so I hope this is correct: $setting["PCPath1"] = "C:\\database\\Films\\"; Thx Reggi |
Edited by - reggi on 13 Jan 2010 11:10:20 |
|
|
ternot
Junior Member
126 Posts |
Posted - 14 Jan 2010 : 08:15:30
|
Hm... In the first step, the script splits the xml file into smaller parts, then it starts to import the movies... Are these xml files corresponding with the big xml file in size? |
|
|
reggi
Starting Member
20 Posts |
Posted - 14 Jan 2010 : 11:23:47
|
It's even a bit bigger
my XML-Report.xml is 13.445kb the 8 files are 13.449kb
Do you make use of a SQL database or not? because maybe he can't find that database for some reason. I made in phpMyAdmin a database called film_database with the login and password just like i putted it in the config file. |
|
|
ternot
Junior Member
126 Posts |
Posted - 14 Jan 2010 : 17:54:28
|
Yes, I do use the mysql db...
Currently its hard for me to get a clue whats going wrong... don't you have webspace I can access? |
|
|
reggi
Starting Member
20 Posts |
Posted - 14 Jan 2010 : 19:43:49
|
I'll try to put it on my web server tonight, I have to study now
Maybe it's just the localhost that's not good for it.
EDIT: Where do I have to place the database? |
Edited by - reggi on 14 Jan 2010 20:43:12 |
|
|
ternot
Junior Member
126 Posts |
Posted - 15 Jan 2010 : 09:41:51
|
The database should be located on a server accessible by the php scripts... Please refer to the documentation of your provider for the configuration to be used for mysql-access...
Best regards ternot |
|
|
reggi
Starting Member
20 Posts |
Posted - 17 Jan 2010 : 11:26:33
|
I'm going to reinstall open SUSE on my server so I will test it later this week. I hope it will work.
anyone else got some problem with hosting it with WAMP on your localhost? |
|
|
Jesse69
Junior Member
109 Posts |
Posted - 18 Jan 2010 : 18:19:28
|
Hi, I got same errors here too I dont think its something wrong with the DB or something else there - Joomla, vB etc running on it famous.
Some hints ? (gerne auch in deutsch - im entsprechenden Forum oder per Mail)
Jesse |
|
|
Topic |
|
|