iCool Posted January 12, 2006 Posted January 12, 2006 I have placed catalog and extras in the webserver folder in the documents sub folder. Upon directing Safari to the install page (http://icool.local/iBecool/install/) I got the following in my browser window: FATAL ERROR: register_globals is disabled in php.ini, please enable it! Help would be appreciated.
♥Vger Posted January 13, 2006 Posted January 13, 2006 You'll have to use Finder to locate all copies of php.ini (on a Mac there'll be several) and set Register Globals to 'on' in each of them - the only way to be sure you got them all! Vger
iCool Posted January 13, 2006 Author Posted January 13, 2006 You'll have to use Finder to locate all copies of php.ini (on a Mac there'll be several) and set Register Globals to 'on' in each of them - the only way to be sure you got them all! Vger Ta but i haven't been able to find anything on my searchs of the system. Where could these files be? or What is the code for them? and if someone knows it can you please post it (along with their indended locations) so that I can create those files. ta iCan't do the code yet
AlanR Posted January 13, 2006 Posted January 13, 2006 Ta but i haven't been able to find anything on my searchs of the system. Where could these files be? or What is the code for them? and if someone knows it can you please post it (along with their indended locations) so that I can create those files. ta iCan't do the code yet They're hidden files. You'll need to set up to view hidden files or use BBEdit which will display and edit them. But if you're using BBEdit there's hardly any point in running a local version anyway. Just edit live on the host server. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
ccubed_99 Posted January 28, 2006 Posted January 28, 2006 They're hidden files. You'll need to set up to view hidden files or use BBEdit which will display and edit them. But if you're using BBEdit there's hardly any point in running a local version anyway. Just edit live on the host server. Thats fine for when you are setting up you store. The advantage to setting up the Webserver is that once your store goes live, and you need to make a major change its best work locally, especially when things go wrong and you have to take time to iron out the wrinkles. BBEdits open invisible is just so good in this aspect. It is important to note that the php.ini file is called php.ini.default and you will need to File -> Save AS -> php.ini You will get a window that is asking for your user name and password to make the change... as it is at root level. If you don't have BBEdit you can use Terminal... or you can pick up something like Mac Pilot which allows you to make the invisible visible system wide... All good tools but for working in PHP I find BBEdit indespensable. Read, read, read, test, read, read, test, read, implement. Always back up your site and database before changes. Always back up on a regular basis.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.