Re: Trouble With phpBB Script
- From: yawnmoth <terra1024@xxxxxxxxx>
- Date: Thu, 29 Jan 2009 15:48:48 -0800 (PST)
On Jan 29, 7:30 am, Scott Dudley <sc...@xxxxxxxxxxx> wrote:
I've posted the following to a couple of phpBB modders forums but have
gotten no replies so am also posting here.
I've written the scripthttp://sdudley.com/CSVImport.docusing phpBB's
DBAL and framework (to the best of my currently limited understanding).
The purpose of the script is to import users, topics, and posts from a
tab-delimited file. I've installed XAMPP on both Windows and Linux
servers here and running phpBB 3.0.4 on each. I've tested the script on
both platforms and works as intended. In order to do so, I place both
the script and tsv file in the application's root directory.
The problem is that I'm trying to run the script on a Windows hosting
provider. Not sure but they may be running IIS instead of Apache. Two
issues:
1. The embedded form posts to self (action="#") but this isn't working.
I have to pass forumId as a query parm on URL. Any ideas why?
2. fgetcsv fails to read from file - fopen succeeds. I get the error
Failed to read from file MSN-phpBB-import.tsv.
Sure could use some pointers folks. Any and all advice desperately
needed and much appreciated.
You might have gotten more help if you tried to isolate your problem
down to its most basic constituent components and then posted that.
ie. instead of posting all your code, you made a program that
demonstrated the problem in as few lines as possible.
If the Wordpress developers had a bug in their several megabyte large
codebase and posted on comp.lang.php, asking for help, you wouldn't
expect people to dig through all those megabytes just to isolate a
problem that the Wordpress devs, themselves, were too lazy to isolate,
would you?
.
- References:
- Trouble With phpBB Script
- From: Scott Dudley
- Trouble With phpBB Script
- Prev by Date: DOMDocument::getElementById returns NULL
- Next by Date: Re: Trouble With phpBB Script
- Previous by thread: Re: Trouble With phpBB Script
- Next by thread: Re: Trouble With phpBB Script
- Index(es):
Relevant Pages
|