syntax error
AndreaD - March 26, 2008 - 23:20
| Project: | Bluga WebThumbs |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
Description
Hi,
I wanted to install the module, but when I ticked the module, and saved it, I got the following error:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ')' in /home/XXXXX/public_html/proba/modules/bluga/bluga_api.inc on line 311
I don´t exactly know what to do with it.
But it would be very nice, if someone, could help me out.
Thanks in advanced:
AndreaD

#1
Sorry it's taken me so long to respond, but I've been focusing all of my energies on another project for the past two months. I tried to reproduce this error with the code available from the current download. If this was a problem, it seems to be resolved now.
Anyway, if you download the latest version and still have this problem, please let me know (or if anyone else has the problem). However, I can't find any problem with the code I have.
#2
Hi
I have been focusing on some of my other projects as well. Now I have downloaded the modul again, and installed it.
It come up with the same error message again. You can see it on:
http://proba.excondo.com/?q=admin/build/modules
If you need some (more) access to the site, please let me know.
Thanks in advanced:
AndreaD
#3
AndreaD,
What version of PHP do you have installed? I'm wondering if this might be a difference in the syntax from the version of PHP I'm using versus yours.
Also, it looks like I may not be doing much in the way of Drupal soon. I'm starting a new job next week and won't be doing any content management there and I've dropped the hobby/volunteer sites I was doing with Drupal for the time being to pursue other things. So, unless you can get me a patch, I'm not sure if I'll have/take time to correct this issue.
Cheers.
#4
Hi zostay,
I am on a server useing php version 4.4.4.
How do you mean I should give you a patch, I am not sure I understand it.
Thank you very much for your time, and help!
AndreaD
#5
In that case, this may be a place where I've used some PHP code that requires PHP 5. I'm not familiar enough with the differences between PHP 4 and PHP 5 to know what that is.
As for patching, see: http://drupal.org/patch
#6
Hi,
Would you like to have a patch of my whole Drupal directory, or just the module itself? (I have never done a patch before, but I will try to do one, and attach it here.)
Cheers,
AndreaD
#7
I think you misunderstood me. I meant that if you change the PHP code so that it worked on your server, you could send me a patch with the fix and then I would look into applying it. Otherwise, I'm not sure I'm going to fix this issue.
#8
ok, I have misunderstand you.
I am not that much into php, so I pretty sure that I will not could fix it. But of course, I will mybe give it a try. (almost sure not untill next week....)
Thanks for your hlp, and good luck with your new job!
AndreaD
#9
PHP 4 is not supported at this time.