icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Choosing Surpass » Signed Up? » PHP scripts

Signed Up? If you're new with a question, ask here!

Reply
 
LinkBack Thread Tools Search this Thread
Old April 3rd, 2007, 2:05 PM   #1 (permalink)
Registered User
Fresh Surpasser
 
Joined in Apr 2007
7 posts
Gave thanks: 0
Thanked 0 times
PHP scripts

Hey
I'm new around here, and quite useless with MySQL and php scripts. I just don't understand it for the life of me.

I tried to install 2 different php blog scripts (wordpress.org and cutenews.com), and followed the instructions to the word, but when it came to getting the actual installation file on the server to work - it didn't.

I tried different things and got these two different errors with wordpress (after failing with the first attempt, a friend and I tried a second one). This is the result of the first attempt:

Quote:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmasterslightly-masochistic.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
And of the second one:

Quote:
Warning: main(./upgrade-functions.php): failed to open stream: No such file or directory in /home/slightly/public_html/wordpress2/wp-admin/install.php on line 9

Fatal error: main(): Failed opening required './upgrade-functions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/slightly/public_html/wordpress2/wp-admin/install.php on line 9
Anyone has any idea what I'm doing wrong? Also, is there a chance there's some sort of security in place that prevents installing php scripts?

Also, since this whole thing is new to me, I don't know what information I should post in order to help solving this, so telling me what I could post further would help.

Thanks in advance to anyone willing to help.
Yaara is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 3rd, 2007, 2:18 PM   #2 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,394 posts
Gave thanks: 28
Thanked 94 times
Usually, when you install one of these type scripts, you have to edit a configuration file. That file needs to know what your database name is, the database user name, and password.

You also have to have the permissions set correctly on the files and folders - if you're on a newer server under PHPSUEXEC, you need 755 permission on folders, 644 on files.
__________________
Proud to be a Surmunity Mod!
XEON PASS60 PASS61
Make a fundamental difference!
My Sites:
Curious about Brewing Beer? Join the community!
>>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax
Get into an Art museum
Victorian London
It's your brain -ON WEB - mybrainhost.com (under development)
What SHOULD Government do? Much Less than it Does!
Bigjohn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 3rd, 2007, 2:43 PM   #3 (permalink)
Registered User
Fresh Surpasser
 
Joined in Apr 2007
7 posts
Gave thanks: 0
Thanked 0 times
I did edit the configuration file with the database information, but I set my permissions to 777 instead of what you mentioned. I will try what you suggested. Thanks for the help.
Yaara is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 3rd, 2007, 2:45 PM   #4 (permalink)
Registered User
Fresh Surpasser
 
Joined in Apr 2007
7 posts
Gave thanks: 0
Thanked 0 times
Well, it appears the permissions on attempt no.2 are already set to what you said they should be....

Anymore suggestions?
Yaara is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 3rd, 2007, 5:38 PM   #5 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,394 posts
Gave thanks: 28
Thanked 94 times
You're installing / extracting into the public_html directory, right?
__________________
Proud to be a Surmunity Mod!
XEON PASS60 PASS61
Make a fundamental difference!
My Sites:
Curious about Brewing Beer? Join the community!
>>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax
Get into an Art museum
Victorian London
It's your brain -ON WEB - mybrainhost.com (under development)
What SHOULD Government do? Much Less than it Does!
Bigjohn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 3rd, 2007, 9:18 PM   #6 (permalink)
is scientific.
Resident.
 
David's Avatar
 
Joined in Mar 2004
Lives in fear of Obama.
Hosted on Pass 7
13,135 posts
Gave thanks: 8
Thanked 34 times
To make it simple, you could use Fantastico.
__________________
Quote:
Originally Posted by removed View Post
Internet Explorer rules.
David is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On