Skip to content
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

[selfoss] problems with writing new entries to mariadb #2210

Closed
thatgim opened this issue Mar 25, 2016 · 1 comment · Fixed by #5916
Closed

[selfoss] problems with writing new entries to mariadb #2210

thatgim opened this issue Mar 25, 2016 · 1 comment · Fixed by #5916
Labels

Comments

@thatgim
Copy link

thatgim commented Mar 25, 2016

Since my upgrade to DSM 6.0-7321 selfoss seems inable to write new entries to mariadb. Reading data seams fine. Even altering (e.g. changing read/unread) existing entries works.

I connect via ssh and executed the update script which resulted in den following error:
PHP Fatal error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' in /volume1/web/selfoss/libs/f3/db/sql.php on line 397
Fatal error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND'

Versions:
mariadb 5.5.47-0064
selfoss 2.13-6
DSM 6.0-7321
on a DS413

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@Normaniac
Copy link

This fixed it for me (sort of): https://forum.synology.com/enu/viewtopic.php?f=20&p=426548

Seemed to be two versions of php. Using "php56" instead of "php" via cli worked so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants