Previous Thread
Next Thread
Print Thread
Rate Thread
#210531 05/04/2001 9:20 AM
Joined: Apr 2001
Posts: 49
Power User
Power User
Offline
Joined: Apr 2001
Posts: 49
Well, just another guy with problems with the createtable.php (PHP-Version 5.3)

after doing ./createtable.php this was the only result

./createtable.php: ?: No such file or directory
./createtable.php: //: is a directory
./createtable.php: //: is a directory
./createtable.php: //: is a directory
./createtable.php: line 5: syntax error near unexpected token `(r'
./createtable.php: line 5: `// Rick Baker ([email protected])'


This is what is in the file:

<?
// ------------------------------------------------------------------------
// WWWThreads - PHP
// Wired Community Software
// Rick Baker ([email protected])
// (c) Copyright 1999-2000
// ------------------------------------------------------------------------
// Require the library
require ("main.inc.php");

hm...what can be the problem? The file? or something with my ISP and his php (yepp, the got php4 runnung now)...


and...as a second question...is it possible that it is a fault to install the PHP-Version into the cgi-bin directory??

Sponsored Links
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
You can't run the createtable.php file from the command line. This file needs to be run via the web browser. Just bring this script up in your browser and it should work ok.


UBB.threads Developer
Joined: Apr 2001
Posts: 49
Power User
Power User
Offline
Joined: Apr 2001
Posts: 49
no, it does not work...

all files are uploaded, the database is ready to work, the config.inc.php file is editet, the chmods are set, the URL was right, i followed the installation guide for hosted sites - but after minutes the script is not up with the browser...no matter if i use Internet Explorer 5.5, Netscape 4.75 or 6 or the Opera in 5.11


Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
If it's hanging then it could be waiting for some response from the database, though I'm not sure why. Can you bring up other php files ok? Like maybe try bringing up the faq_english.php file as this doesn't make any database calls and should work ok if everything is configured properly.


UBB.threads Developer
Joined: Oct 2000
Posts: 60
Power User
Power User
Offline
Joined: Oct 2000
Posts: 60
Wait.... you put the PHP version in the cgi-bin directory? When running from the webserver, the webserver tried to execute everything in cgi-bin as an compiled program (C, C++) or a shell script (PERL, TCL, etc). Since PHP is neither, it is probably attempting to return raw data to the webserver. This *should* return a 500 Internal Server Error, but apparently it is not.

Try putting the php version in a different directory.

Administrator, Videogame Music Archive

Sponsored Links
Joined: May 1999
Posts: 242
Coder
Coder
Offline
Joined: May 1999
Posts: 242
That's right, powerlord, and my installation docs are incorrect in saying that also. I'll get that fixed up asap.

Thanks for pointing it out. []/testimages/icons/smile.gif[/]



[]/testimages/icons/smile.gif[/] 6 []/testimages/icons/frown.gif[/]
Screamers

Joined: Apr 2001
Posts: 49
Power User
Power User
Offline
Joined: Apr 2001
Posts: 49
yepp Powerlord, that was one mistake we made.....newbie-like, but it happend. We decided to get the board runnig by a third person install now. Any way, thanks for replying :-)



Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)