Announcement

#1 2016-06-13 17:08:08

carltonb
Member
2013-02-18
9

Piwigo Corrupted?

I have been running v 2.8.1 for a few months with great success.
Now I am having tremendous problems.

Takes 3 to 4 times to log in as admin
Pictures will not upload
Have a hard time creating new albums
Will not create a new user
Some of the plugins now say they have been deactivated. When I go to reactivate it gives me an error which disappears before I can read it.

Can any one give me some options on what to do.

Thanks
Carltonb

Offline

 

#2 2016-06-13 19:32:13

flop25
Piwigo Team
2006-07-06
7036

Re: Piwigo Corrupted?

Hello
dig in server logs; check also for any error_logs files


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2016-06-13 21:32:01

carltonb
Member
2013-02-18
9

Re: Piwigo Corrupted?

Error Log Shows the following
No server error log errors that I can find.

Thank you


[29-Apr-2016 12:06:35 America/Detroit] PHP Notice:  Undefined offset: 0 in /home/carltonb/public_html/carltonbrooks.us/photos/include/calendar_monthly.class.php on line 220
[29-Apr-2016 12:06:35 America/Detroit] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/carltonb/public_html/carltonbrooks.us/photos/include/calendar_monthly.class.php:220) in /home/carltonb/public_html/carltonbrooks.us/photos/include/page_header.php on line 101
[29-Apr-2016 12:13:56 America/Detroit] PHP Notice:  Undefined offset: 0 in /home/carltonb/public_html/carltonbrooks.us/photos/include/calendar_monthly.class.php on line 220
[29-Apr-2016 12:13:56 America/Detroit] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/carltonb/public_html/carltonbrooks.us/photos/include/calendar_monthly.class.php:220) in /home/carltonb/public_html/carltonbrooks.us/photos/include/page_header.php on line 101
[29-Apr-2016 12:13:59 America/Detroit] PHP Notice:  Undefined offset: 0 in /home/carltonb/public_html/carltonbrooks.us/photos/include/calendar_monthly.class.php on line 220
[29-Apr-2016 12:13:59 America/Detroit] PHP Notice:  Undefined offset: 0 in /home/carltonb/public_html/carltonbrooks.us/photos/include/calendar_monthly.class.php on line 220
[29-Apr-2016 12:13:59 America/Detroit] PHP Notice:  Undefined offset: 0 in /home/carltonb/public_html/carltonbrooks.us/photos/include/calendar_monthly.class.php on line 220
[29-Apr-2016 12:13:59 America/Detroit] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/carltonb/public_html/carltonbrooks.us/photos/include/calendar_monthly.class.php:220) in /home/carltonb/public_html/carltonbrooks.us/photos/include/page_header.php on line 101
[29-Apr-2016 12:18:45 America/Detroit] PHP Notice:  Undefined offset: 0 in /home/carltonb/public_html/carltonbrooks.us/photos/include/calendar_monthly.class.php on line 220
[29-Apr-2016 12:18:45 America/Detroit] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/carltonb/public_html/carltonbrooks.us/photos/include/calendar_monthly.class.php:220) in /home/carltonb/public_html/carltonbrooks.us/photos/include/page_header.php on line 101
[12-Jun-2016 17:10:47 America/Detroit] PHP Notice:  Undefined offset: 0 in /home/carltonb/public_html/carltonbrooks.us/photos/admin/include/plugins.class.php on line 182
[12-Jun-2016 17:10:47 America/Detroit] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/carltonb/public_html/carltonbrooks.us/photos/admin/include/plugins.class.php:182) in /home/carltonb/public_html/carltonbrooks.us/photos/include/page_header.php on line 101
[12-Jun-2016 17:10:52 America/Detroit] PHP Notice:  Undefined offset: 0 in /home/carltonb/public_html/carltonbrooks.us/photos/admin/include/plugins.class.php on line 182
[12-Jun-2016 17:10:52 America/Detroit] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/carltonb/public_html/carltonbrooks.us/photos/admin/include/plugins.class.php:182) in /home/carltonb/public_html/carltonbrooks.us/photos/include/page_header.php on line 101
[12-Jun-2016 17:45:21 America/Detroit] PHP Warning:  mysql_fetch_row() expects parameter 1 to be resource, object given in /home/carltonb/public_html/carltonbrooks.us/photos/plugins/download_multi/maintain.inc.php on line 39
[12-Jun-2016 17:45:21 America/Detroit] PHP Notice:  Undefined offset: 0 in /home/carltonb/public_html/carltonbrooks.us/photos/admin/include/plugins.class.php on line 182
[12-Jun-2016 17:45:21 America/Detroit] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/carltonb/public_html/carltonbrooks.us/photos/plugins/download_multi/maintain.inc.php:39) in /home/carltonb/public_html/carltonbrooks.us/photos/include/page_header.php on line 101
[13-Jun-2016 10:30:25 America/Detroit] PHP Notice:  Undefined offset: 0 in /home/carltonb/public_html/carltonbrooks.us/photos/admin/include/plugins.class.php on line 182
[13-Jun-2016 10:30:25 America/Detroit] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/carltonb/public_html/carltonbrooks.us/photos/admin/include/plugins.class.php:182) in /home/carltonb/public_html/carltonbrooks.us/photos/include/page_header.php on line 101
[13-Jun-2016 10:31:21 America/Detroit] PHP Notice:  Undefined offset: 0 in /home/carltonb/public_html/carltonbrooks.us/photos/admin/include/plugins.class.php on line 182
[13-Jun-2016 10:31:21 America/Detroit] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/carltonb/public_html/carltonbrooks.us/photos/admin/include/plugins.class.php:182) in /home/carltonb/public_html/carltonbrooks.us/photos/include/page_header.php on line 101
[13-Jun-2016 10:32:12 America/Detroit] PHP Notice:  Undefined offset: 0 in /home/carltonb/public_html/carltonbrooks.us/photos/admin/include/plugins.class.php on line 182
[13-Jun-2016 10:32:12 America/Detroit] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/carltonb/public_html/carltonbrooks.us/photos/admin/include/plugins.class.php:182) in /home/carltonb/public_html/carltonbrooks.us/photos/include/page_header.php on line 101

Offline

 

#4 2016-06-14 23:07:13

erAck
Only trying to help
2015-09-06
1135

Re: Piwigo Corrupted?

I get the same error after:
* "Some upgrades are available for extensions."
* upgraded piwigo-videojs plugin
* after that, plugin page said it was deactivated, offered only to uninstall
* uninstalled
* installed piwigo-videojs again
* clicked on activate
* a short screen with
Notice: Undefined offset: 0 in .../admin/include/plugins.class.php on line 182
Warning: Cannot modify header information - headers already sent by (output started at .../admin/include/plugins.class.php:182) in .../include/page_header.php on line 101
appears but is immediately redirected to the admin page (could only grab it by quick screenshot)
* piwigo-videojs is not listed as installed
* last four actions are repeatable with same results
* Administration Home says "Some upgrades are available for extensions."
* clicking on it no updates are offered

I've no time now to further investigate.

Last edited by erAck (2016-06-14 23:21:35)


Running Piwigo at https://erack.net/gallery/

Offline

 

#5 2016-06-15 15:27:00

flop25
Piwigo Team
2006-07-06
7036

Re: Piwigo Corrupted?

@carltonb do you have videojs installed like erAck?

Did you both perform an automatic upgrade of Piwigo recently? if yes [Forum, topic 23208] READ ME: getting an error after the update?


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#6 2016-06-15 23:32:40

erAck
Only trying to help
2015-09-06
1135

Re: Piwigo Corrupted?

"Recently" is a few days after 2.8.1 was released I upgraded to that. I don't quite recall if I upgraded any extension after that. Probably not, as I don't have files dated later than May-8 under the plugins/ directory, which are AdminTools and TakeATour language files.


Running Piwigo at https://erack.net/gallery/

Offline

 

#7 2016-06-16 03:02:57

jnashpiwigo
Piwigo Team
2014-10-21
240

Re: Piwigo Corrupted?

Try re-downloading the [extension by xbgmsharp] piwigo-videojs and unzipping over your old piwigo_videojs directory.  This worked for me as it seems the latest upgrade to that extension has some 'upgrade' issues deleting required files and directories.

Again, worked for me after I got the same errors.

Offline

 

#8 2016-06-17 23:12:31

erAck
Only trying to help
2015-09-06
1135

Re: Piwigo Corrupted?

Yes, download and unzip worked. Thanks!

Btw, piwigo-videojs/obsolete.list has some weird content, incomplete file names truncated at the left, first two characters seem to be missing starting with the metypes/ entry which likely should be mimetypes/ instead and even contains a single / which might had been js/ ... if that file is used to remove files it might remove too much if not all.

A little later: indeed, admin/include/updates.class.php uses that file's content to remove files and directories.

Last edited by erAck (2016-06-17 23:42:49)


Running Piwigo at https://erack.net/gallery/

Offline

 

#9 2016-06-20 15:53:25

erAck
Only trying to help
2015-09-06
1135

Re: Piwigo Corrupted?


Running Piwigo at https://erack.net/gallery/

Offline

 

#10 2016-06-20 16:03:14

xbgmsharp
Member
1970-01-01
215

Re: Piwigo Corrupted?

This is PWG issue and it is not the first time. I use the git release process from PWG.
Using the zip file Github is safer.

There is no file call admin/include/updates.class.php in my source. In fact there is no admin/include directory in the source
Check yourself, https://github.com/xbgmsharp/piwigo-vid … ster/admin

Until it is fix from PWG, I would recommend to use github.
https://github.com/xbgmsharp/piwigo-videojs/releases

https://github.com/xbgmsharp/piwigo-vid … stallation

Offline

 

#11 2016-06-20 16:11:55

flop25
Piwigo Team
2006-07-06
7036

Re: Piwigo Corrupted?

that's more from the PEM (Piwigo Extension Manager) which produces the obsolete list
@xbgmsharp can you reproduce? if you create a new extension and a new git, then add your old version then update it


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#12 2016-06-20 21:03:44

windracer
Member
St. Pete, FL
2014-12-28
342

Re: Piwigo Corrupted?

I had the same issue with the Video.JS upgrade (posted about here) and had to restore my SQL database from backup because a synchronization caused all of my MP4 files to be removed from Piwigo. I'll try re-installing the extension from scratch, thanks for the tip.

Offline

 

#13 2016-06-21 12:09:02

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13519

Re: Piwigo Corrupted?

Indeed the obsolete.list file in version 2.8.a of [extension by xbgmsharp] piwigo-videojs is full of errors:

obsolete.list wrote:

js/
js/video.js
include/getid3/
include/getid3/module.audio-video.flv.php
include/getid3/module.tag.lyrics3.php
include/getid3/module.audio.flac.php
include/getid3/module.audio-video.quicktime.php
include/getid3/module.audio.ogg.php
include/getid3/module.tag.apetag.php
include/getid3/module.tag.id3v1.php
include/getid3/getid3.lib.php
include/getid3/getid3.php
include/getid3/module.tag.id3v2.php
include/getid3/module.audio.mp3.php
include/getid3/module.audio-video.matroska.php
include/README.md
skin/
skin/video-js.png
skin/video-js.css
skin/tubesprite.png
skin/loading.gif
skin/tube.css
admin.php
admin.tpl
metypes/
metypes/ogg.png
metypes/ogv.png
metypes/webm.png
metypes/mp4.png
metypes/webmv.png
metypes/m4v.png
in/
in/video-js.png
in/video-js.css
in/tubesprite.png
in/loading.gif
in/tube.css
mplate/
mplate/vjs-player.tpl
min.php
min.tpl
dex.php
in.inc.php
intain.inc.php
ADME.md
clude/
clude/getid3/
clude/getid3/module.audio-video.flv.php
clude/getid3/module.tag.lyrics3.php
clude/getid3/module.audio.flac.php
clude/getid3/module.audio-video.quicktime.php
clude/getid3/module.audio.ogg.php
clude/getid3/module.tag.apetag.php
clude/getid3/module.tag.id3v1.php
clude/getid3/getid3.lib.php
clude/getid3/getid3.php
clude/getid3/module.tag.id3v2.php
clude/getid3/module.audio.mp3.php
clude/getid3/module.audio-video.matroska.php
clude/README.md
clude/index.php
/
/video.js
language/fr_FR/index.htm
language/en_UK/index.htm
language/es_ES/index.php
language/es_ES/index.htm
language/index.htm
js/video-js.swf
skin/redsheen-skin.css
skin/video-js.min.css
skin/font/
skin/font/vjs.svg
skin/font/vjs.woff
skin/font/vjs.ttf
skin/font/vjs.eot
skin/darkfunk-skin.css
video-js/redsheen-skin.css
video-js/darkfunk-skin.css
.git/

I have to investigate to understand what is going wrong in the algorithm generating this obsolete.list file.

Offline

 

#14 2016-06-27 15:00:29

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13519

Re: Piwigo Corrupted?

Things are much clearer for me now.

Version 0.1 has no top level directory in the archive, it must have been created manually. When piwigo.org/ext generates the obsolete.list file, it reads the content of this old archive and fails at some point. I've pushed a fix for this issue.

In my opinion, having a bug on PEM (piwigo.org/ext) is not that much a problem. The real problem is that Piwigo has deleted some files files outside the plugin. There is a bug in the obsolete.list mecanism. [Github] Piwigo issue #506

xbgmsharp, can you:

1) remove the published version 2.8.a
2) publish a new version, 2.8.b (not 2.8.a) maybe with your most recent changes

Offline

 

#15 2016-06-29 01:53:59

erAck
Only trying to help
2015-09-06
1135

Re: Piwigo Corrupted?

plg wrote:

The real problem is that Piwigo has deleted some files files outside the plugin.

Any hint to what files may have been deleted? I compared with a previous some days old backup and found no files outside ./plugins/piwigo-videojs/ being removed, except under ./_data/templates_c/ and ./_data/cache/ of course.


Running Piwigo at https://erack.net/gallery/

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2021 · Contact