Re: Trouble With phpBB Script



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?
.



Relevant Pages

  • Re: Std Users, Update Files?
    ... This posting is provided "AS IS" with no warranties, and confers no rights. ... I use a VB script which simply points to a BAT file. ...
    (microsoft.public.windows.server.general)
  • Re: Javascript in an HTML table
    ... [previous posting superseded in the face of new evidence] ... This just displays my graph by itself. ... The <script ...> tag that was in the original code is missing here. ... Prototype.js was written by people who don't know javascript for people who ...
    (comp.lang.javascript)
  • Re: Setting registry data
    ... Manbinder Pal Singh ... This posting is provided "AS IS" with no warranties, ... I tried in google, but i was able to get codes in script format, not in ... this example shows how to read values from the registry but ...
    (microsoft.public.win32.programmer.wmi)
  • Re: Metabase restore - how to tell if there is corruption?
    ... As your servers are clustering, you can synchronize the two metabases ... between the nodes using the following script: ... This posting is provided "AS IS" with no warranties, ...
    (microsoft.public.exchange.admin)
  • Re: Clearing down IE temp files, the easy way??
    ... but i use a script which sets the registry key and it works fine. ... Best regards ... Disclaimer: This posting is provided "AS IS" with no warranties, ...
    (microsoft.public.windows.terminal_services)