I had a php file where the indentation had been completely messed up. A quick google came up with this tip for vim:
Press: gg=G
to select the all lines and autoformat.
{"type":"exception","tid":4,"message":"Not enough required params specified for method: loadForm on class ClassNameHere" }
The requested address .. was not found on the serversudo a2enmod rewrite
Replace all occurences of foo with bar in the file:
%s/foo/bar/g
To solve this delete the svn:special property by doing this:
svn propdel svn:special FILETOCHANGE
You can also use svn proplist FILETOLOOKAT to see the svn properties on that file.
I had just used this script: http://arctic.org/~dean/scripts/unln to unlink but keep a copy of the symlinked file.
Seems to work quite well.
<Directory ....> Options Indexes FollowSymLinks MultiView </Directory>
echo '{"success":'.$success.', results:'.$javascript->Object($record).'}';
reader: new Ext.data.JsonReader({ totalProperty: 'total', successProperty: 'success', root: 'results', idProperty: 'id', etc
{"success":true, results:{"id":"47","jobId":"47","jobType":"7", "partName":"0101012","partDescription":"3.0 Metre Crossover Network Cable", "quantity":"1","price":"3.5"}}
{success:true, id:11}
{success:true}
{"total":2, "results":[{"id":"46","jobId":"47","jobType":"7", "partName":"0101104","partDescription":"Dual Back Box","quantity":"1","price":"4.26"},{"id":"47","jobId":"47","jobType":"7", "partName":"0101012","partDescription":"3.0 Metre Crossover Network Cable","quantity":"1","price":"3.5"}]}
svn propset svn:ignore FOLDERNAME . ^^ Note the dot! More info here
http://sdesmedt.wordpress.com/2006/12/10/how-to-make-subversion-ignore-files-and-folders/
You can dump the database into a file using: mysqldump -h hostname -u user --password=password databasename > filename you can restore the info to the database again using: mysql -h hostname -u user --password=password databasename < filename
from: http://forums.mysql.com/read.php?10,195091,195097
If you are getting an Object not found! cakephp error check out your httpd.conf
<Directory />
Options FollowSymLinks
AllowOverride All
# Order deny,allow
# Deny from all