The content of the .htaccess file looks like this :
| Code: |
#Set Error pages
ErrorDocument 500 ./500.html
ErrorDocument 404 ./500.html
######################################################################
#
# Please note typically one of these variations will allow the
# "directory" file to run as a PHP script. If you are getting #500
# or 404 errors, simply try the next directive by toggling the
# commented lines.
######################################################################
<Files directory>
# ForceType x-httpd-php
ForceType application/x-httpd-php
# SetHandler application/x-httpd-php
# SetHandler application/x-httpd-php5
</Files>
######################################################################
# If you have installed this script in your web root directory you might consider using
# the following mod-rewrite rules to make it appear as if you have an index.html file,
# so the directory script will be served as your homepage (eg; when no filename is requested.)
######################################################################
## add mod rewrite rules
## uncomment these 2 lines to use any of the following rewrite rules
# RewriteEngine On
# RewriteBase /
## make /directory/ act as index
#RewriteRule ^$ /directory/ [L]
#RewriteRule ^index\.(php|htm|html)$ /directory/ [R]
#RewriteRule ^index\.....$ /directory/ [R]
######################################################################
# The following mod rewrite rule is really just a suggestion. It causes viewers to be directed
# to http://www.yourdomain.com if they arrive at http://yourdomain.com (no WWW)
# This helps to ensure anyone linking to your site does so consistantly.
######################################################################
## Redirect non WWW to WWW replace "yourdomain" with
## your actual domain name
#RewriteCond %{HTTP_HOST} ^yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,L]
|
I have access at the admin panel and have filled all those you mentioned above. But I get blanc page when I click on YOU PHPLINK from the admin panel to check the site. And this message is still there:
| Code: |
Warning: include(../include/lang/.php) [function.include]: failed to open stream: No such file or directory in /home/user/public_html/links/admin/main.php on line 12
Warning: include(../include/lang/.php) [function.include]: failed to open stream: No such file or directory in /home/user/public_html/links/admin/main.php on line 12
Warning: include() [function.include]: Failed opening '../include/lang/.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/links/admin/main.php on line 12
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/user/public_html/links/admin/main.php:12) in /home/user/public_html/links/admin/main.php on line 14
|