Closed (fixed)
Project:
Taxonomy VTN
Version:
6.x-1.0-beta4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
6 May 2008 at 16:23 UTC
Updated:
24 May 2008 at 03:21 UTC
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/pojack1/public_html/learntheinternet/modules/taxonomy_vtn/taxonomy_vtn.pages.inc on line 16
I run site www.learntheinternet.com
I've been using it to experiment with drupal 6.
I loved the idea of your module, but I get this error.
I tried to disable everything in the admin page but still get the error.
The site is very simple. No custom modules, but several added, like views etc.
I wonder if I should try to disable all modules except yours.
Antonio
Antonio
Comments
Comment #1
tomaszx commentedThis is in line 16:
$cache_data = cache_get('taxonomy_vtn_show_vocs')->data;Strange effect. I don't know why you got this error...
What is your version of php ?
What is your settings for Caching? (Please try turn on Caching)
Tell me if still is the error.
Anyone can help?
Comment #2
cgdigitaltreats commentedI tried it on and off. Either way did not help.
On the admin page, I am copying some of the info.
HOpe it helps.
Your server not support setlocale.
This mean that sort index alphabetical with specific letters like ą ę ń can't be really sorted with your language.
Use setlocale
If you have some trouble, turn off this option.
The seletion is greyed out, so I can't check or uncheck it.
Antonio
Comment #3
tomaszx commentedsetlocale is never mind here.
Caching is important. Turn off Caching and test again.
Comment #4
cgdigitaltreats commentedTurning it on or off doesn't do anything, both states have the same error.
Antonio
Comment #5
cgdigitaltreats commentedI use cirtex hosting, they have 4.3 version of php. They also use 5 but you have to do something funky like change the .htaccess, or php.ini or .php5 extention etc.
Comment #6
tomaszx commentedthis look like a problem with php4 ... i dont know why only with this line.
anyone know what is a different?
@vitovonantwon try change this line with:
and tell me what's happen.
Comment #7
cgdigitaltreats commentedHi,
Ok, I added that line, and now I get this error.
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/pojack1/public_html/learntheinternet/modules/taxonomy_vtn/taxonomy_vtn.pages.inc on line 169
169 is $cache_data = cache_get('taxonomy_vtn_show_terms_'. $own_vid)->data;
Turned cache on and then off, and the problem is the same.
Antonio
Comment #8
cgdigitaltreats commentedInteresting, the vtn block works.
I'll leave it enabled for you to see. On the right. (but if you click on one the links, it gets the same error on line 169.)
Antonio
Comment #9
tomaszx commentedHi,
then try change too this line like before in 16 line.
Tell me if this help.
Comment #10
cgdigitaltreats commentedParse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/pojack1/public_html/learntheinternet/modules/taxonomy_vtn/taxonomy_vtn.pages.inc on line 409
Trying to do the same on this line also.
OK, got it. Seems to work now. Not sure why it needed to be that way.
Your good. Very patient.
Antonio
Comment #11
tomaszx commentedThanks for testing, no problem.
I want make better my module :)
regards.
Comment #12
cgdigitaltreats commentedThanks for your help.
Antonio
Comment #13
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.