nikrou / phyxo Goto Github PK
View Code? Open in Web Editor NEWAnother web based photo gallery
Home Page: https://www.phyxo.net/
License: GNU General Public License v2.0
Another web based photo gallery
Home Page: https://www.phyxo.net/
License: GNU General Public License v2.0
Through admin, using automatic update (CentOS 7.3, php 7.0.16, Postgres 9.6.2).
Notice: Undefined property: SmartyException::$not_writable in /var/www/html/phyxo/admin/updates_core.php on line 122
Warning: implode(): Invalid arguments passed in /var/www/html/phyxo/admin/updates_core.php on line 122
Fatal error: Uncaught --> Smarty: Smarty_Internal_Template->_decodeProperties() undefined method <-- thrown in /var/www/html/phyxo/vendor/smarty/smarty/libs/sysplugins/smarty_internal_undefined.php on line 65
I then hit F5 and things seem fine, Phyxo telling it is up to date.
Keep up the good work :)
In many places, manage objects implies to deal with queries in loops. Need to find a way to make buld operation using doctrine.
The 'visit gallery' link from admin panel doesn't point the gallery.
<a class="navbar-brand mr-auto" href="../../admin/index.php" title="Visiter la galerie"><i class="fa fa-home"></i> Une galerie Phyxo de plus</a>
Make/use a better administration theme
Symfony standard installation create a public repository. The http server (usually apache but it works with any) must consider public directory as root directory for the application.
As a consequence, others directories are not accessible with a browser. So some refactoring is needed for themes to access assets (javascripts, stylesheets, images, ...). Some refactoring is also needed to access resizes images. Uploaded (in upload directory) will no more be accessible.
Make admin more responsive : for example collapse menu on small screens.
Reorganize some menu items.
CentOS 7, php 7.0.14, postgresql 9.6.1, phyxo 1.6.1.
Willing to upgrade to 1.6.2, in admin area, « Dernière version ? » link does not work ( admin/index.php?action=check_upgrade ).
Opening in a new tab gives « Impossible de connaître la dernière version ».
Keep up the good work !
Some code is duplicated in InstallCommand and InstallController. Some refactoring between theses two classes is needed.
Manage sessions using symfony : https://symfony.com/doc/current/components/http_foundation/sessions.html
Just tried to install Phyxo 2.0.2 on a server with mysql / php 7.4 and got that error just after creating the user:
PHP Fatal error: Uncaught PDOException: SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in /home/lafr3189/galerie/vendor/symfony/http-foundation/Session/Storage/Handler/PdoSessionHandler.php:622
Thanks.
Suite à la création d'un nouvel user, il n'ya pas de date d'enregistrement et le statut affiché est user_status_ et impossible à modifier
A noter qu' aucune ligne n'est ajoutée dans la table phyxo_user_info suite à la création d'un nouvel utilisateur
There's no real responsive theme. Make it ones!
Hi...
Came across your fantastic project and I find it really amazing. I am a logo/icon designer and I want to help create a logo/icon for your project as my free contribution and love for contributing to amazing open source projects.
Currently working on some idea concept, I will update it here when I finish it up, so you can give your feedback on the design and also suggest any tweak or changes to suit your needs.
Will really appreciate your response...
Regards!
Instead of using global functions in all functions_*.php files, functions.inc.php, functions.php files move thme in static methods in classes.
Example :
move l10n and related functions to Phyxo\Functions\Language
To be uniform with plugins and themes language directory that holds translation should be rename to languages
Instead of define rules in many places use voters to manage persmissions for users : who can add comments, who can add/delete tags,...
On some page, breadcrumb has sometime less informations. Need to improve it.
SQL queries are in many files. Somes are duplicated.
The idea is to move them to dedicated class (Repository classes) . The long term goal is to move to doctrine.
A guest must access the gallery. Of course he can only see public albums.
symfony routing is a project dependency but many routes (almost all) use the include/section_init.inc.php file. Remove that file and move logic in appropriate location controllers and other services.
Hi,
CentOS 7, Phyxo 1.5.2, recently upgraded to PHP 7 via remi repo. Since then, upon login, I get
Catchable fatal error: session_regenerate_id(): Failed to create(read) session ID: user (path: /var/lib/php/session) in /var/www/html/phyxo/src/Phyxo/Model/Repository/Users.php on line 316
PHP7 does work correctly, as several other php apps run flawlessly.
Thanks and keep up the good work :)
Tests (atoum) are runned by github actions.
Update configuration (.github/workflows/phyxo.yml) to allow behat tests with a matrix of databases
In admin area, in release 1.6.0, all themes are deactivated and activate button does not work as expected !
When trying to log in the following message can be displayed (or at least be in log file) :
Warning: session_start(): Failed to read session data: user (path: /var/lib/php/sessions)
Many dependencies used are outdated. Upgrade them. Need to update behat tests.
After installation, there's a php exception : SQLite database is locked.
By default postgreSQL use the default schema (usually public) for the specified database. Add a way to choose a schema in the specified database.
Use a modal or a slider for help instead of popup.
Trying to use values of type null, bool, int, float or resource as an array (such as $null["key"]) will now generate a notice.
The problem occurs when accessing configuration from global $conf in legacy code.
Instead of relying on custom plugin trigger/listener use symfony event system :
https://symfony.com/doc/current/event_dispatcher.html
Sous album avec 4 photos – une seule s'affiche sur la page d'accueil et en cliquant sur celle-ci →
Warning: pg_query(): Query failed: ERREUR: syntaxe en entrée invalide pour l'entier : « 4,17 » LINE 1: ... name, permalink FROM phyxo_categories WHERE id IN('4,17') ^ in /var/www/html/phyxo/src/Phyxo/DBLayer/pgsqlConnection.php on line 53 Fatal error: Uncaught Phyxo\DBLayer\dbException: [0]: ERREUR: syntaxe en entrée invalide pour l'entier : « 4,17 » LINE 1: ... name, permalink FROM phyxo_categories WHERE id IN('4,17') ^ Query: SELECT id, name, permalink FROM phyxo_categories WHERE id IN('4,17') thrown in /var/www/html/phyxo/src/Phyxo/DBLayer/pgsqlConnection.php on line 59
A noter que lors de l'import des 4 photos dans le sous-album, l'écran est resté sur la barre d'avancement à 100 % !
Smarty is closed to end of life. Twig is more integrated with symfony. So remove Smarty and switch to Twig.
A partir du menu administration il y a un lien 'Visiter la gallerie' qui renvoie à la visualisation des photos.
Ce lien renvoie à la racine du site, cad :
Je pense que la solution serait de rajouter index.php et que cela fonctionnera dans les 2 cas de figure.
Mysql strict mode prevents Phyxo to be installed. The problem is for date with default value '0000-00-00'.
The mode that change mysql server is NO_ZERO_IN_DATE
The solution is to change default date values by NULL like other database engines.
Upgrade between minor or major release a better user experience can be given.
Remove use of global in functions or methods to avoid (at least) side effect when using a function.
CentOS 7, PHP 7.0.14, Postgres 9.6.1, Phyxo 1.6.1.
In admin area, no albums are listed when trying to upload new photos.
Moreover, an error message appears at the bottom of the page:
Fatal error: Uncaught RuntimeException: Unclosed string at position: 67069 in /var/www/html/phyxo/vendor/tedivm/jshrink/src/JShrink/Minifier.php:476 Stack trace: #0 /var/www/html/phyxo/vendor/tedivm/jshrink/src/JShrink/Minifier.php(231): JShrink\Minifier->saveString() #1 /var/www/html/phyxo/vendor/tedivm/jshrink/src/JShrink/Minifier.php(144): JShrink\Minifier->loop() #2 /var/www/html/phyxo/vendor/tedivm/jshrink/src/JShrink/Minifier.php(110): JShrink\Minifier->minifyDirectToOutput('/\n * mOxie - ...', Array) #3 /var/www/html/phyxo/src/Phyxo/Template/FileCombiner.php(212): JShrink\Minifier::minify('/\n * mOxie - ...') #4 /var/www/html/phyxo/src/Phyxo/Template/FileCombiner.php(196): Phyxo\Template\FileCombiner::process_js('/**\n * mOxie - ...', 'admin/themes/de...') #5 /var/www/html/phyxo/src/Phyxo/Template/FileCombiner.php(129): Phyxo\Template\FileCombiner->process_combinable(Object(Phyxo\Template\Script), true, false, NULL) #6 /var/www/html/phyxo/src/Phyxo/Template/FileCombiner.php(109): Phyxo\Template\FileCombiner->fl in /var/www/html/phyxo/vendor/tedivm/jshrink/src/JShrink/Minifier.php on line 476
Instead of plain old php arrays, use symfony translations system using Xlif or something similar.
Check mail contents using appropriate Behat extension
Connection using unix socket is impossible with current settings.
Use Doctrine as database abstraction layer through Doctrine::DBAL and Object Relation Mapper through Doctrine::ORM
List of models/tables :
config key secret_key is only used by ephemeral_key mechanism to manage comments contribution.
Use APP_SECRET provided by symfony and csrf_token instead.
Try to simplify comment workflow (validation, deletion,...) using for example symfony component workflow
The button to show/hide metadata on picture page does nothing.
Builds failed on travis-ci : https://travis-ci.org/nikrou/phyxo
I didn't really understand why. Need to investigate.
Use album instead of category :
On web installation:
Fatal error: Uncaught Symfony\Component\Dotenv\Exception\PathException: Unable to read the "/home/clients/89bc9bd72e54950241bd9b1e083c63a4/phyxo/.env" environment file. in /home/clients/89bc9bd72e54950241bd9b1e083c63a4/phyxo/vendor/symfony/dotenv/Dotenv.php:465Stack trace: #0 /home/clients/89bc9bd72e54950241bd9b1e083c63a4/phyxo/vendor/symfony/dotenv/Dotenv.php(50): Symfony\Component\Dotenv\Dotenv->doLoad(false, Array) #1 /home/clients/89bc9bd72e54950241bd9b1e083c63a4/phyxo/index.php(24): Symfony\Component\Dotenv\Dotenv->load('/home/clients/8...') #2 {main} thrown in /home/clients/89bc9bd72e54950241bd9b1e083c63a4/phyxo/vendor/symfony/dotenv/Dotenv.php on line 465
=> no file ".env"
When database upgrade are needed after an upgrade, process finishes with an almost blank page. Need to really improve that.
Allow users to enhance Phyxo using plugins.
Plugins will interract with Phyxo core using event dispatcher
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.