×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Blank page error like everybody else

Blank page error like everybody else 14 years 7 months ago #9735

  • Perry
  • Perry's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
So, i have take my time to read all the other errors.
But nothing actually works.

Some info:
I am getting this error:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /administrator/components/com_comment/plugin/com_content/josc_com_content.class.php on line 38

My host is supporting PHP5.
My site is: photoshop.wildride300.com

Thanks in advance!

Blank page error like everybody else 14 years 7 months ago #9736

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
It is one thing that your host is supporting php5, another if you actually use it.
Go to the backend of joomla -> help find the phpinfo information and check if the php version that you really use is php5 - I don't think so.

Blank page error like everybody else 14 years 7 months ago #9737

  • Perry
  • Perry's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
I guess you are right.
PHP Version: 4.4.7
I was searching on the host, and they say i can use it if i change the .php files to .php5
Or i can change it in the .htaccess file.
Does this sounds right to you?

Blank page error like everybody else 14 years 7 months ago #9738

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Find out how to change it in .htaccess. Changing all joomla php file to php5 will be crazy :)

Blank page error like everybody else 14 years 7 months ago #9739

  • Perry
  • Perry's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Hahaha, yeah. :)
So, heres my .htaccess file:
##
# @version $Id: htaccess.txt 14401 2010-01-26 14:10:00Z louis $
# @package Joomla
# @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##
 
 
#####################################################
#  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations.  It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file.  If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's.  If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################
 
##  Can be commented out if causes errors, see notes above.
Options +FollowSymLinks
 
#
#  mod_rewrite in use
 
RewriteEngine On
 
########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
## Deny access to extension xml files (uncomment out to activate)
#<Files ~ "\.xml$">
#Order allow,deny
#Deny from all
#Satisfy all
#</Files>
## End of deny access to extension xml files
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits
 
#  Uncomment following line if your webserver's URL
#  is not directly related to physical file paths.
#  Update Your Joomla! Directory (just / for root)
 
# RewriteBase /
 
 
########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php5|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section

My hoster said i need to add this: AddHandler x-httpd-php5 .php
I don't know where.
And if am done with that, my version is PHP 5.2.4.
So, do you know where to add that line?

Blank page error like everybody else 14 years 7 months ago #9740

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
add it to the end of the file and you should be fine :)

Blank page error like everybody else 14 years 7 months ago #9741

  • Perry
  • Perry's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Alright, i will edit it and upload it and see what happens. :)
Edit: Hmm, still running on PHP 4.4.7...
Should i contact my host?

Blank page error like everybody else 14 years 7 months ago #9742

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
AddHandler x-httpd-php5 .php

is sitting on a new line, right? No # in front of it?

Blank page error like everybody else 14 years 7 months ago #9743

  • Perry
  • Perry's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Hmm, this is the order at the end of the file:
########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php5|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section
 
AddHandler x-httpd-php5 .php

Is it right?

Blank page error like everybody else 14 years 7 months ago #9744

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
ah, is this .htaccess file or htaccess.txt ? Only .htaccess files are taken in account + this file should reside in your joomla root directory.

Blank page error like everybody else 14 years 7 months ago #9745

  • Perry
  • Perry's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Yeah this is an .txt extension, should i delete the ".txt" and upload it then?

Blank page error like everybody else 14 years 7 months ago #9746

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
yep, you should delete the .txt and then when you upload the file rename it to .htaccess - note the point .htaccess !

Blank page error like everybody else 14 years 7 months ago #9747

  • Perry
  • Perry's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
You are fantastic!
It's working!
How can i ever thank you man ;)
If i could ever do something for you, just ask me :)

Blank page error like everybody else 14 years 7 months ago #9748

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
hehe, you know - you can always get a subscription :)
compojoom.com/subscriptions-a-downloads

But a good review at extensions.joomla.org will also be fine :) or perhaps both :D

Blank page error like everybody else 14 years 7 months ago #9749

  • Perry
  • Perry's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
I wish i could man, but sorry to say this, but i am not using paypal :S
But the review is the least i can do. :)
Sorry again.

Blank page error like everybody else 14 years 7 months ago #9750

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
What are you using worldpay or what. Perhaps I can integrate some other payment gateways - the more the better :D

Thanks for the review in advance!

Blank page error like everybody else 14 years 7 months ago #9751

  • Perry
  • Perry's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Actually, i am not using any site buying systems :(
  • Page:
  • 1
Time to create page: 0.161 seconds