You are here: Start page Support Forum

Ideal - Custom Software Development

Welcome, Guest
Please Login or Register.    Lost Password?

Parse error: parse error, unexpected T_CLASS in...
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Parse error: parse error, unexpected T_CLASS in...
#1945
Re:Parse error: parse error, unexpected T_CLASS in... 1 Month, 3 Weeks ago Karma: 10  
Ok.

Please let me know when you can provide a FTP account so I can test it.

Kind regards,
douglas (Admin)
I'm Sabbatarian, I'm not here on the Holy Sabbath
Moderator
Posts: 1021
graph
User Online Now Click here to see the profile of this user
Gender: Male Location: Joinville - Santa Catarina - Brazil
Douglas Machado
Need a nice way to display your content items or FAQs? Get MooFAQ!
The administrator has disabled public write access.
 
#2229
Re:Parse error: parse error, unexpected T_CLASS in... 2 Weeks, 2 Days ago Karma: 0  
Hi there

I've recently bought contact enhance with captcha and the same problem occurs whenever I enable the content captcha component:-

Parse error: parse error, unexpected T_CLASS in /share/storage/01/fl/fleetclean/plugins/content/captcha.php on line 204

I have uninstalled the component and re-installed and it hasnt worked. I then
unistalled the component again and re-installed it with the new 1.5.7 RC beta version and it still doesnt work.

I was wondering if you have figured out what the problem was from the above posts asking for help?

Is it relevent that our php is 4.3.10?

Thanks!
fleetclean (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2230
Re:Parse error: parse error, unexpected T_CLASS in... 2 Weeks, 2 Days ago Karma: 10  
Dear Alistair,

If I'm not mistaken, the problem of the post above was that the captcha.php was been appended instead of replaced. After installation I had to manually delete the file and upload it using FTP;

I believe it is the same thing because there is no line 204 in that file;

I don't believe it has anything to do with the PHP version, however you should keep your system updates; PHP updates not only provide new features, such as JSON support in PHP 5.2 (required for Ajax Contact), but also improve server performance and increases security levels;

If the problem persists, please provide a FTP account so I can take a look at it;


Kind regards,
douglas (Admin)
I'm Sabbatarian, I'm not here on the Holy Sabbath
Moderator
Posts: 1021
graph
User Online Now Click here to see the profile of this user
Gender: Male Location: Joinville - Santa Catarina - Brazil
Douglas Machado
Need a nice way to display your content items or FAQs? Get MooFAQ!
The administrator has disabled public write access.
 
#2231
Re:Parse error: parse error, unexpected T_CLASS in... 2 Weeks, 2 Days ago Karma: 0  
Bom Dia Douglas,

Thanks for coming back to us so soon, however I am still a little confused by your answer

Looking at the captcha.php file here, line 204 contains the following:

final class CaptchaMoovur extends Moovur {

(I have uploaded a copy of the file so that you can look at it)

Also I am not sure what you mean by the php being appended instead of replaced? Could you perhaps explain further?

For extra information, the fault that occurs (when CAPTCHA is enabled) is that as soon as you request the "contact" page from anywhere on the site, the site crashes with the error as previously mentioned.
The entire site is then inaccessible until CAPTCHA is disabled in the Joomla backend.

Regards

Alistair.
File Attachment:
File Name: captcha.zip
File Size: 2714
fleetclean (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/03/04 05:26 By fleetclean.Reason: Upload
The administrator has disabled public write access.
 
#2232
Re:Parse error: parse error, unexpected T_CLASS in... 2 Weeks, 2 Days ago Karma: 10  
Dear Alistair,

Please download the Captcha plugin again. I've fixed it;

If you have any other question, please do not hesitate to ask;

Kind regards,
douglas (Admin)
I'm Sabbatarian, I'm not here on the Holy Sabbath
Moderator
Posts: 1021
graph
User Online Now Click here to see the profile of this user
Gender: Male Location: Joinville - Santa Catarina - Brazil
Douglas Machado
Need a nice way to display your content items or FAQs? Get MooFAQ!
The administrator has disabled public write access.
 
#2242
Re:Parse error: parse error, unexpected T_CLASS in... 2 Weeks, 2 Days ago Karma: 0  
Oi Douglas,

The revised Captcha plugin file fixed the problem perfectly

Muito obrigado!

Alistair.
fleetclean (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
Moderators: douglas 

Login Form

Use paypal, a safe waay to pay!

Western Union, money transfer

Banco do Brasil, Direct Deposit or Swift transfer

We recommend