Hi,
I'm rebuilding some pricetapestry websites with the new version and some mods. But I got into problems with the import.php. I made the temporary mod to admin.php and import.php and run a cron job to test the import.
The cron job said:
Warning: require(../includes/common.php) [function.require]: failed to open stream: No such file or directory in /home/myuser/public_html/scripts/import.php on line 5
Fatal error: require() [function.require]: Failed opening required '../includes/common.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/myuser/public_html/scripts/import.php on line 5
When I looked at the website, it showed the same error. I'm pretty sure it wasn't there before.
To my surprise the common.php was not there anymore. I copied it back and run the cron job again.
Then I got a 302 message.
I changed the cron job from:
/usr/bin/php /home/myuser/public_html/scripts/import.php @ALL
to
/usr/bin/php -q /home/myuser/public_html/scripts/import.php @ALL
Then I don't get the error but I don't think it imported it. The cron only says:
backfilling reviews...
backfilling reviews...[done]
But when I look into admin it doesn't seem like it imported it something. I checked it by registering a feed without importing it. It doesn't get imported after the cron job was run...
My PT installation is with the central feeds mod and the temporary mod (this one isn't with the one folder up mod).
Hi Marco,
Will it require the same alteration to the zero downtime mod as the similar issue yesterday, e.g.:
if (file_exists("../../feeds/".$feed["filename"]))
...should be:
if (file_exists($config_feedDirectory.$feed["filename"]))
If not, forward the same files as yesterday and I'll check them out...
Cheers,
David.
--
PriceTapestry.com