just a few tips that will hopefully help others in the future...
[glow=yellow,2,300]
1)[/glow] to get modx to work without error on the godaddy linux server, i had to scatter a few php.ini files around. first, create a blank txt document and put this code in it...
then save that file and give it a filename of "php.ini".
then place that file at the root/top level that you have access to - the same level that your homepage/index file would be.
then place a copy of that file in the modx "assets" folder.
then place a copy of that file in the modx "manager" folder.
and lastly, IF you installed modx in a subdirectory, place it at that root level too.
(note: i did not experiment to see if having fewer of these would work also; but i heard it "might" work with just the root level one)
Also, an important thing to note: it would seem that in most cases (mine included) that these uploaded php.ini files do not take effect on modx for aprox an hour after upload!!!!!
[glow=yellow,2,300]
2)[/glow] by default, php was set to not allow any files uploaded thru the modx system that was over 2mb’s in size. this was unacceptable to me. but oddly enough, i didn’t discover this was the issue until several hours of troubleshooting. why? because when i would go in to edit a page, and click to insert an image or media, and click to browse, then click to upload (as one normally would) - i would get this error message: "Failed to upload file, internal error". i would expect it to tell me that the filesize limit has been exceeded, but it didn’t. so this error message lead me down many paths that were not the issue. after much experimenting, i discovered that indeed it was due to the 2mb file size limit. it would seem that changing it in the Tools -> Configuration -> File Manager -> Maximum upload size area had no effect with GoDaddy. the info at Reports -> System Info -> phpInfo() View -> upload_max_filesize still would show 2M.
so after much investigation, i found that using those php.ini files that i used above would provide a good workaround.
take each of those php.ini files from above, open them up, and add "upload_max_filesize = 10M" to them on a second line. (note: use whatever max size you want). so the file would now look like this...
register_globals off
upload_max_filesize = 10M
Then after about an hour of waiting, the info at Reports -> System Info -> phpInfo() View -> upload_max_filesize now showed 10M.
[glow=yellow,2,300]
3)[/glow] in using the "eForm" snippet to have a contact form on the site, i discovered that the email address(es) you have it sent to MUST be same-domain email addresses. for instance, if the domain that i am using modx on is "domain1.com" then i need to send the emails to "
[email protected]". when i tried to send them to "
[email protected]", they simply would never show up. the rest of the form would work appropriately, just never any email from it.
So there you go - my 3 issues (so far) with putting modx on a godaddy server.
hope that’s helpful to somebody.
-jason.