Pages (2):    1 2
Member
Member
sbillard   2009-10-08, 21:38
#21

updateThumbPreview() is a Javascript function. It is defined in admin.js. No way that PHP should be trying to execute it. Maybe your files have got corrupt.

Member
Member
slaattnes   2009-10-08, 22:44
#22

Yes. I can try to upload the build a second time? Weird that both the last and this build would be corrupt though.

Member
Member
slaattnes   2009-10-09, 10:34
#23

I now deleted the test build and uploaded 4516. This time too the general sidebar on albums are missing: http://folk.ntnu.no/danielto/zenphoto/zp-core/admin-edit.php?page=edit&album=test

It can't be corrupt every time on different servers and different builds. This is truly a weird problem. Do you get the same error as last time acrylian?

Edit: Fatal error: Call to undefined function updateThumbPreview() in /web/folk/danielto/zenphoto/zp-core/admin-functions.php on line 1209

I can't find updateThumbPreview() in /zp-core/js/admin.js

Administrator
Administrator
acrylian   2009-10-09, 11:23
#24

That function is defined in admin.js around line 191 but only in the nightly build, not the 1.2.6 release. If it is not there you probably have mixed up files with the 1.2.6 release somehow.

Member
Member
slaattnes   2009-10-09, 13:04
#25

No. I found it now:

function updateThumbPreview(selectObj) { if (selectObj) { var thumb = selectObj.options[selectObj.selectedIndex].style.backgroundImage; selectObj.style.backgroundImage = thumb; } }
This is from admin.js on the server and the fatal error from admin-functions.php on line 1209:

``

Administrator
Administrator
acrylian   2009-10-09, 14:10
#26

Maybe a file permission issue so that it is not loaded?

Member
Member
slaattnes   2009-10-09, 14:23
#27

Hm I just set everything to 777 but there where no difference.

Administrator
Administrator
acrylian   2009-10-09, 14:26
#28

I guess we are running ouf of ideas rapidly... You need another server..;-)

Member
Member
slaattnes   2009-10-09, 14:42
#29

I uploaded 1.2.6[4335] to the same server and in that version the general sidebar works so isn't it something wrong with the never builds then?

Administrator
Administrator
acrylian   2009-10-09, 16:00
#30

It is really getting weird now. I see it indeed on one of my three local svn installs (the bottom buttons are also missing). It even remains in that one after I got the files fresh from svn..

Strange things are happening here, as now in the one that shows all sidebars TinyMCE is not loaded anymore without any noticably reason or error... Will talk with sbillard...

Administrator
Administrator
acrylian   2009-10-09, 16:48
#31

After some odyssey I think I fixed it. Please try the svn or tonight's nightly so we are sure... Strange one this was...

Member
Member
slaattnes   2009-10-09, 17:07
#32

I'll do that:-)

Member
Member
slaattnes   2009-10-09, 17:59
#33

It works wonderfully now:-)

Administrator
Administrator
acrylian   2009-10-09, 18:11
#34

Great!..:-)

Pages (2):    1 2
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.