Status: offline

ajfryisa

Forum User
Newbie
Registered: 11/22/05
Posts: 8
Warning: Division by zero in /home/barnadri/public_html/plugins/mediagallery/functions.inc on line 1889
when updating it gives east error me. Thanks.

Status: offline

mevans

Forum User
Full Member
Registered: 02/08/04
Posts: 393
Can you give me a few more details:

1. What version of Geeklog
2. What version of Media Gallery were your running (previous version before trying to upgrade)
3. Finally, what version are you upgrading to?

In the latest version (1.4.7) that line in functions.inc handles the featured album centerblock. I have seen issues where you upload the new files and before you can actually run the upgrade you might get an error like this. If this is the case, just enter the URL to go directly to your plugin admin screen (http://www.yoursitehere.com/admin/plugins.php) and try to run the update from there.

Thanks!
Mark

Status: offline

ajfryisa

Forum User
Newbie
Registered: 11/22/05
Posts: 8

I feel it by not being but I specify, but I do not speak English.
My version of geeklog is 1.4.0sr1.
The media galery is 0.8 and I update to the 1.4.7 I feel it…

Status: offline

mevans

Forum User
Full Member
Registered: 02/08/04
Posts: 393
Wow, you are going from the original release to the current one, big jump!

Try going directly to the plugin admin URL: http://www.yoursitehere.com/admin/plugins.php

Select Media Gallery

Select Update

What is your native language, maybe someone here can translate for us?

Thanks!
Mark

Status: offline

ajfryisa

Forum User
Newbie
Registered: 11/22/05
Posts: 8

I have already tried it and the error is he himself. I speak Spanish. I prove to update a previous version?
ok, ok
In http://barnadriva.net/admin/plugins/mediagallery/
Your installation does not seem to be up to date. Updates are available for your version of Media Gallery, please visit http://www.mediagallery.org/ to obtain the latest version.

The latest available version is Media Gallery 1.4.7 You are running Media Gallery 1.4.6

Status: offline

ajfryisa

Forum User
Newbie
Registered: 11/22/05
Posts: 8
he himself error. Warning: Zero division by in /home/barnadri/public_html/plugins/mediagallery/functions.inc on line 2031

Status: offline

mevans

Forum User
Full Member
Registered: 02/08/04
Posts: 393
These errors are caused by the Featured Album.

Can you go back to the original version (0.8), disable all featured albums and random image blocks, try the upload one more time?

Status: offline

ajfryisa

Forum User
Newbie
Registered: 11/22/05
Posts: 8
Thus I have done it and it says to me:
An SQL error has occurred. Please see error.log for details.
in the registry it puts:
[error] PHP Fatal error: Cannot redeclare mg_siteheader() (previously declared in /home/barnadri/public_html/mediagallery/common.php:188) in /home/barnadri/public_html/mediagallery/mg_common.php on line 15
although everything works perfectly and if that is updated.
Thanks!