-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync Error #205
Comments
Hello! |
After further investigation I found that the error was due to the date of creation of the medias being null or not set. To avoid the error:
You can also set a date for all your videos like so:
Don't forget to apply changes: I hope this will be useful, |
Hi @lilian-pouliquen |
Hi @klaoun Thanks for your reply! |
I was beginning to think it was going to be 2024 by the time I got a reply! Thank you so much, ill test this soon. |
I still get an error and I also get an error with I click "sync metadata"(but thats fine I can just select a random date), but it seems to work now that i've added a date to it. Thanks |
I'm glad this helped you! |
Sync meta deta error: The upload error is different from when I last did it for some reason. The "Deprecated:" repeats a lot with different values each time so I didnt bother including the entire wall of text.
|
Are you at the latest version of the master branch? (just to make sure) Do you have all requirements installed and configured to manage metadata? (see here) It seems that your videos does not have any creation date, even after syncing metadata. It is possible that it does not have one I think. In this case you must add it manually. For your upload error, when does it happen? on the video upload? |
Have the same problem. Even after setting date_creation in database the problem persits. |
The problem is in
Additionally I changed in in
|
Hello! This is my first time using Piwigo and I installed piwigo-videojs so videos will show up and I encounter this error:
Fatal error: Uncaught mysqli_sql_exception: Incorrect datetime value: '-0001-11-30 00:00:00' for column
piwigo.
piwigo_images.
date_creationat row 1 in /app/www/public/include/dblayer/functions_mysqli.inc.php:132 Stack trace: #0 /app/www/public/include/dblayer/functions_mysqli.inc.php(132): mysqli->query() #1 /config/www/plugins/piwigo-videojs/include/function_sync2.php(104): pwg_query() #2 /config/www/plugins/piwigo-videojs/admin/admin_sync.php(104): require_once('...') #3 /config/www/plugins/piwigo-videojs/admin/admin.php(68): include_once('...') #4 /app/www/public/admin/plugin.php(53): include_once('...') #5 /app/www/public/admin.php(345): include('...') #6 {main} thrown in /app/www/public/include/dblayer/functions_mysqli.inc.php on line 132
What I did:
Synced piwigo with the built in tool with the directories + files option selected
Went to the plugin paged and went to settings for videojs
Went to the synchronize area of the settings
Left as default and pressed sync, got the error I sent earlier
.
Also, the sync works when I do it as a simulation.
Other info:
I'm using the docker image from linux server to run piwigo(Version 13)
Running on my pi3 (1 GB of ram but that doesn't seem to be the issue)
The text was updated successfully, but these errors were encountered: