cdn2-6.x-1.1 crashes Drupal 6.9
bmcraec - February 13, 2009 - 08:01
| Project: | CDN2 Video |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hi, I just installed cdn2 and now get this dialogue:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/costarm/public_html/modules/cdn2/cdn2.module on line 769
Not sure how I recover from this. I've attached a screen grab of the current status report, which was where I was before getting the error message above. All menus take me back to the error message.
I'm not a developer, so am probably guilty of too much module lego! Suggestions gratefully received!
Bruce
| Attachment | Size |
|---|---|
| FirefoxScreenSnapz001.gif | 144.81 KB |

#1
I'm using cdn2 1.1 with Drupal 6.9, and not getting that error.
However, when I look at what's on that line, it looks like it's doing a call to cache_get() and assuming that it will return an object, when in fact, it may sometimes return nothing.
I'd recommend going through your cdn2 settings and making sure that you have selected some presets - I think what it's trying to do there is grab a list of what presets it's allowed to use and not finding any. If it has data to work with, perhaps that will get you past the problem you're having until they can fix this.
#2
Also, check to see if maybe you're running some module that likes to eat cached data at inappropriate times. If that doesn't make sense, just try turning things off and then turning them on again, one at a time, until the error goes away.
But first, make sure you've configured CDN2 properly.
Oh... did you put in your license key for CDN2 and everything? It probably can't get it's settings if you haven't.
#3
Closed for two weeks with no activity.