PDA

View Full Version : Path error importing UBB threads



Gholsie
Fri 23rd Mar '01, 2:41pm
I get this error after I've successfully imported the first round of threads in the first forum.

It happens after the threads have been imported and gives me this error. I think it's just a path problem:

-----------------------------
Current forums in the UBB

Warning: file("c:inetpubwwwrootcgi-bin/forums.cgi") - No such file or directory in c:\inetpub\wwwroot\vb\admin\import.php on line 459

Warning: Variable passed to each() is not an array or object in c:\inetpub\wwwroot\vb\admin\import.php on line 461
----------------------------

See the "Warning:file("c:inetpub......" statement? Looks like the path is missing backslashes.

-- Mike

JamesUS
Fri 23rd Mar '01, 2:54pm
Try entering double-slashes:
c:\\inetpub\\
etc

Gholsie
Sun 25th Mar '01, 5:30am
The double-slashes worked. But, they were only valid in the "UBB Settings Directory"... (first option)

The other three needed single slashes.

Gholsie
Sun 25th Mar '01, 5:33am
While the double-slashes worked, the code didn't like it after importing a 3rd forum. Seems to have lost the directory structure and gives me this again:

Current forums in the UBB


Warning: file("c:inetpubwwwrootcgi-bin/forums.cgi") - No such file or directory in c:\inetpub\wwwroot\vb\admin\import.php on line 459

Warning: Variable passed to each() is not an array or object in c:\inetpub\wwwroot\vb\admin\import.php on line 461

Enter forum number to i...........

Mike Sullivan
Mon 26th Mar '01, 4:52pm
Try using forward slashes instead.