Welcome, Guest
Username: Password: Remember me
Welcome to the ToolsJX forum!


  • Page:
  • 1
  • 2

TOPIC: Parse Error [Solved]

Parse Error [Solved] 4 years 6 months ago #208

  • ertlnet
  • ertlnet's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
Wow! The installation process was painless for someone who knows very little about Joomla & databases! Thanks!

Everything seemed to go well until I tried to preview my webpage

Welcome to the Frontpage

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in (my actual path here)/plugins/content/displaygrid.php on line 35

If I try to preview from the Grid: Edit page, I get this error:


Fatal error: Call to a member function on a non-object in (my actual path here)/components/com_grid/grid.php on line 34

Jen
Last Edit: 4 years 5 months ago by viljem.
The administrator has disabled public write access.

Re: Parse Error 4 years 6 months ago #209

  • Bostjan
  • Bostjan's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 45
  • Karma: 0
Hello Jen,

Are you using PHP4 or PHP5?

Regards,
Bostjan
The administrator has disabled public write access.

Re: Parse Error 4 years 6 months ago #212

  • ertlnet
  • ertlnet's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
the main part of my domain is PHP4 (Joomla 1.0).

But I also have Joomla 1.5 installed with PHP5 in a separate database. This is where TableJX is installed. MYSQL database is in a separate PHP5 install.

Messy, I know. Need to upgrade the main site. :-) Wanted to do some testing first and may just redesign the whole site in 1.5 instead of doing a conversion.
The administrator has disabled public write access.

Re: Parse Error 4 years 6 months ago #213

  • Bostjan
  • Bostjan's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 45
  • Karma: 0
Yes, TableJX is developed on PHP5 and does not work with PHP4, so it is best you upgrade to PHP5... So if I understand correctly this error occurs on PHP5?
Last Edit: 4 years 6 months ago by Bostjan.
The administrator has disabled public write access.

Re: Parse Error 4 years 6 months ago #216

  • ertlnet
  • ertlnet's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
That worked! Thanks!

It generated a few more errors, but I got those figured out.

My grid looks nothing like the demo table though. (It is only one row, with all my data being displayed across.) I have a few ideas to try & if they don't work, I'll post another request.
The administrator has disabled public write access.

Re: Parse Error 4 years 6 months ago #217

  • Bostjan
  • Bostjan's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 45
  • Karma: 0
Can you post link to your page (or send me to This email address is being protected from spambots. You need JavaScript enabled to view it. ), so we can see what is wrong. Be aware that if you have any 'html' charactes in your data, they will mess up the table!
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.121 seconds