I got you now, this will actually be easier to do too! I should have this working soon.
Wendy (Djamoer) wrote some libraries but I don’t know where they can be put.
Is it possible to add a new resource type like chunk, template, snippet, etc. or is it a choice not to have create it ?
I have libraries to share
« MODx Parse Error » MODx encountered the following error while attempting to parse the requested resource: « `1` is not numeric and may not be passed to makeUrl() » Parser timing MySQL: 0.0914 s s (2 Requests) PHP: 0.1607 s s Total: 0.2521 s s

Basically, on occasion, the mysql_insert_id() command is failing in the DBAPI insert function. In these instances, it will return 0 indicating it has failed. This, in turn, causes the DBAPI insert function to return the result of the insert query: a boolean true.
Now, passing a boolean true into the makeUrl function gives the exact error that we have been experiencing. (did a little test snippet on my test site to make sure it’s repeatable)
Just tried to add maxigallery to the repository, but got an parse error:
« MODx Parse Error » MODx encountered the following error while attempting to parse the requested resource: « `1` is not numeric and may not be passed to makeUrl() » Parser timing MySQL: 0.0914 s s (2 Requests) PHP: 0.1607 s s Total: 0.2521 s s
Jeff had the same error and he says its because the website input field only having http://, but I filled that info too.. It took quite some time for me to write all the info, could some session/cookie have expired while writing and causing this? Luckily I was expecting errors on first post so I copied all the info to text files first
Gonna try adding it again now, I’ll report back soon how it goes..
This discussion is closed to further replies. Keep calm and carry on.