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

Error 500 (Internal Server Error) #1

Closed
template01 opened this issue Jan 24, 2018 · 2 comments
Closed

Error 500 (Internal Server Error) #1

template01 opened this issue Jan 24, 2018 · 2 comments

Comments

@template01
Copy link

template01 commented Jan 24, 2018

Hey Artur,

I'm fiddling around with this promising module. I've replicated your configuration file:

engine: algolia
app_id: MYAPPID
api_key: MYAPPAPIKEY
collections:
    posts: [title, excerpt, content]

Accompanying this i've made a collection type called posts with the fields title, excerpt and content. So far so good.
The problem hits when i create a new post and try to save it. The CMS fails with a system error and spits this back into the console:

app.js?ver=0.5.1:71 POST http://cockpit.template-studio.nl/collections/save_entry/posts 500 (Internal Server Error)

screenshot from 2018-01-24 14-03-50
screenshot from 2018-01-24 14-04-24

Any ideas of whats wrong, and what the solution might be?

Cheers,

Lasse

Cockpit:
Version | 0.5.1
Version | 7.0.22-0ubuntu0.16.04.1
-- | --
PHP SAPI | apache2handler
System | Linux vps341395 4.4.0-109-generic #132-Ubuntu SMP Tue Jan 9 19:52:39 UTC 2018 x86_64
Loaded Extensions | Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, imagick, imap, intl, json, exif, mcrypt, mysqli, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, shmop, SimpleXML, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Zend OPcache
Memory limit | 512M
Upload file size limit | 200M
@template01
Copy link
Author

This also applies for the bleeding edge version of Cockpit [NEXT]
Also for both versions: the posts seems to be saved since if you go back to the collection overview the 'failed' posts are saved.

@template01
Copy link
Author

Seems resolved using the latest version of Cockpit [NEXT].

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

No branches or pull requests

1 participant