PDA

View Full Version : Got following error after upgrade....


goxy63
01-19-2009, 01:03 PM
Fatal error: Call to undefined function vba_template_alter() in /home/#####/public_html/test/testvb/includes/functions.php(2937) : eval()'d code on line 3

This is my test site, yesterday I did an upgrade of Vba dynamics from 1.0.3 to 1.1.0, before that I did an upgrade of Vb from 3.7.4 to 3.8, and old version of Vba dynamics worked just fine

I made a mistake cuz after upload of files I started an UPGRADE-installation without renaming 'dyna_config.php.NEW'

Later on I just erased old 'dyna_config.php' file and renamed new one, than it didnt worked again
I placed install file back and rebuilded tamplates, it worked today....but it looks like only when Iam logged in, otherwise its not working

Any ideas how to deal with this guys !?

Thanks in advance for any help
Regards

goxy63
01-19-2009, 04:16 PM
Only when Iam NOT logged in I got this problem, my vba dynamics is not working, Vb looks just fine

Please advise

Our Sponsors
 

Brian
01-20-2009, 10:22 AM
It sounds like some of your files were not overwritten when you uploaded the. Try uploading all v1.1.0 files again, making sure your FTP program is overwriting each.

FYI, there's no reason to touch the dyna_config.php file for an upgrade. That was a one-time thing that only needs to be done with a new install.

goxy63
02-09-2009, 05:39 AM
So when upgrading just to leave that
'dyna_config.php.new' file
next to old one
'dyna_config.php'

Ok, uploaded again but still everything is just the same, when I logg out from my forums Vba dynamics pages are not visible, Vbulletin is just fine

When logged in everything is ok

Any pointers !?

ps
this is my test site, password protected....

and this error is displayed in browser
'Fatal error: Call to undefined function vba_template_alter() in /home/#####/public_html/test/testvb/includes/functions.php(2937) : eval()'d code on line 3'

Our Sponsors
 

Brian
02-09-2009, 11:10 AM
Yes, the dyna_config.php.new file can be left as is.

As for the error, it sounds like you either did not run the Upgrade option from the admincp/vbadyna_install.php file, or your forum/includes/functions_dyna.php file is still from an older version and was not overwritten when you did the upgrade.