Yet another new error not found in search

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Yet another new error not found in search
erinj
CZ Newbie
erinj has been a member for over 20 year's 20 Year Member
usa.gif washington.gif
Occupation: student
Age: 36
Gender: Male
Website:
Status: Offline
Joined: Sep 21, 2004
0.00 posts per day
Posts: 17
Points: 1,089
   
http://www.errshow.kewlio.co.uk/modules.php?name=gallery
New error msg

Fatal error: Cannot re-assign $this in /usr/home/erinj/public_html/modules/gallery/classes/Album.php on line 449


only change after adding theme "chrismasV2"
where it still worked was :

we added a .htaccess to get rid of error on index.
removing .htaccess does NOT fix the new error
what do it need to fix

let me know what else you need for info
flight gallery is half my sites users fav



Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
Try another theme. Our theme doesnt interfere with your photo album.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: Yet another new error not found in search
erinj
CZ Newbie
erinj has been a member for over 20 year's 20 Year Member
usa.gif washington.gif
Occupation: student
Age: 36
Gender: Male
Website:
Status: Offline
Joined: Sep 21, 2004
0.00 posts per day
Posts: 17
Points: 1,089
   
function loadFromFile($filename) {
      $tmp = unserialize(getFile($filename));
      if (strcasecmp(get_class($tmp), "album")) {
         /* Dunno what we unserialized .. but it wasn't an album! */
              $tmp = unserialize(getFile($filename, true));
         if (strcasecmp(get_class($tmp), "album")) {
            return 0;
         }
      }

      $this = $tmp;     
      return 1;
   }

Thats where it says the error is.
line 449 is : $this = $tmp;


In no way did i say it was the theme that broke it ... ive tried half the ones i got and that does nothing.
i only met to say that no changes have been made since it was working ... no changes that mean any thing. it didnt have a .htaccess before. I talked to the host.
Any ideas whats wrong


Back to top Reply with quote
#4   re: Yet another new error not found in search
erinj
CZ Newbie
erinj has been a member for over 20 year's 20 Year Member
usa.gif washington.gif
Occupation: student
Age: 36
Gender: Male
Website:
Status: Offline
Joined: Sep 21, 2004
0.00 posts per day
Posts: 17
Points: 1,089
   
Well found out why gallery dead

server upgraded

have to upgrade gallery now

im not sure how or what to upgrade with

where do i find out how to.



Back to top Reply with quote
#5   re: Yet another new error not found in search
pnclthnmstsh
CZ Active Member
pnclthnmstsh has been a member for over 20 year's 20 Year Member
usa.gif nevada.gif
Age: 53
Gender: Male
Website:
Status: Offline
Joined: Sep 17, 2004
0.04 posts per day
Posts: 267
Points: 13,641
   
I don't understand how a server upgrade could cause that kind of error. It sounds like there is another program using $this as a variable. Is it possible to change all instances of $this in the gallery mod to something more unique? I've seen that kind of error as well and would like to know if thats an option.




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#6   re: Yet another new error not found in search
erinj
CZ Newbie
erinj has been a member for over 20 year's 20 Year Member
usa.gif washington.gif
Occupation: student
Age: 36
Gender: Male
Website:
Status: Offline
Joined: Sep 21, 2004
0.00 posts per day
Posts: 17
Points: 1,089
   
icon_biggrin.gif The answer was to upgrade the gallery if there was another program running $this as a veriable it musta been the upgraded php because all the php galleries crahed. But we figured this wasnt the case because not every gallery that crashed was even from the same developer... coppermine and gallery project galleries failed.

The good news is i got my gallery upgraded finally. icon_mrgreen.gif

Thanks for the help.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum