PDA

View Full Version : Having import problem - havn't updated script in awhile, could this be why?


FanAddict
12-23-2006, 12:12 AM
okay I am having this error when I go to my import page:

Warning: main(xml_php4.php): failed to open stream: No such file or directory in /home/pinkstyl/public_html/countlesswastedhours/import_abracadabra.php on line 10

Fatal error: main(): Failed opening required 'xml_php4.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pinkstyl/public_html/countlesswastedhours/import_abracadabra.php on line 10




I havn't updated for at least a month maybe more, could this be why?

If so could someone please direct me in the right way as to what file I need to download, and what I need to change!

Thank you!
Linda.

sawz
12-23-2006, 08:22 AM
i am also having a problem importing. does it need an update, are new files required?

kip
12-23-2006, 03:24 PM
I am looking at it now. It seems to be an issue with export_full (on our server), go ahead and edit import.php, and you will see http://www.fastfreemedia.com/export_full.php under $url1 change that to http://www.fastfreemedia.com/export.php and that should be a temp fix for now.

FanAddict
12-23-2006, 05:27 PM
So it's got nothing to do with not updating to the most recent version? :) That's good to know!

Oh - I will try it out and post back if it works or not. thanks.

FanAddict
12-23-2006, 05:51 PM
Here is the new code im using:
//Change export_full.php to export.php if you only want the last 50 updates instead of the entire DB.
$url = 'http://www.fastfreemedia.com/export.php';
$url2 = 'http://www.fastfreemedia.com/';
// 0 is NO adult content while 1 accepts it
$adult = '0';


Error is still there;


Warning: main(xml_php4.php): failed to open stream: No such file or directory in /home/pinkstyl/public_html/countlesswastedhours/import_abracadabra.php on line 10

Fatal error: main(): Failed opening required 'xml_php4.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pinkstyl/public_html/countlesswastedhours/import_abracadabra.php on line 10



This sucks :( My site hasn't been updated in like a week lol...

FanAddict
12-23-2006, 06:17 PM
Ahh duh.. I didn't change over the code, I moved my import file so I could use a cron job :(

Works fine now!

blank
12-23-2006, 06:33 PM
Failed opening required 'xml_php4.php'

check to see if you have xml_php4.php on your server...

FanAddict
01-07-2007, 02:43 AM
Thanks fixed it, just the file URL's were wrong ;)

Shouldn't work on stuff like this at 2 AM :)