Advertisement:

Author Topic: Internal Server Error  (Read 4353 times)

silkfield

  • Newbie
  • *
  • Posts: 6
Internal Server Error
« on: October 10, 2010, 07:55:15 pm »
I have no idea why I'm getting this.

I have unzipped and uploaded all files to the server and every single file produces an Internal Server Error.

The server is Apache/Linux.

I have installed Wordpress to the same server and/or SQL db without any problems.
I have even tried CHMOD'ing every file/folder to 777.

I cannot install this software!! What is going on?

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: Internal Server Error
« Reply #1 on: October 11, 2010, 12:45:34 am »
Hi,

What do you have in .htaccess file?

Which address are you trying? To install the software, you have to run www.example.com/oc-install/index.php

Is this url returning a blank page?

silkfield

  • Newbie
  • *
  • Posts: 6
Re: Internal Server Error
« Reply #2 on: October 11, 2010, 02:41:50 am »
.htaccess:
Code: [Select]
<IfModule mod_rewrite.c>

RewriteEngine On

RewriteRule -cat-(\d+)(/(\d+))?$ category.php?id=$1&page=$3 [NC,L]
RewriteRule -item-(\d+)$ item.php?id=$1 [NC,L]
RewriteRule -page-(\d+)$ page.php?id=$1 [NC,L]

RewriteRule ^feed.xml$ index.php?action=feed [NC,L]
RewriteRule ^sitemap.xml$ index.php?action=sitemap [NC,L]
RewriteRule ^contact.html$ index.php?action=contact [NC,L]

ErrorDocument 404 index.php?action=errorPage&code=404
ErrorDocument 500 index.php?action=errorPage&code=500

# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteRule . /index.php [L]

</IfModule>

This is the code you posted here on the forums, which has stopped the server error.

Now when I try to execute www.mysite.com/oc-installer/index.php or any other file, I just get a blank page.

Any ideas why?

Thanks.

silkfield

  • Newbie
  • *
  • Posts: 6
Re: Internal Server Error
« Reply #3 on: October 11, 2010, 04:17:52 am »
I just discovered that my hosting server is still using PHP v4.

I only discovered this by manually executing step0.php and seeing the 5.2 criteria was not met. The index.php is still blank.

I have asked my providers to upgrade to 5.2. I hope this will solve the problem.

Thank you

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: Internal Server Error
« Reply #4 on: October 11, 2010, 11:39:40 am »
Oh, I didn't think about it.

I hope your provider upgrade php version, so you can install OSClass :-)

In addition, this week we're going to release OSClass 1.0 (stable version) with a new installation process.