curtisbryant
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Fixing WordPress
In reply to: Upgrading MySQL for WordPressThanks, Transactional worked!
Forum: Fixing WordPress
In reply to: Upgrading WP, PHP, & MySQLThank you!
Forum: Plugins
In reply to: [Theme Check] Allowed Memory Size ExhaustedThanks, Otto! It turns out there was an out-of-control log file that had grown to 1.5GB. After I deleted the file, Theme Check gave me its report. The report looks helpful, so thanks for that, too!
Forum: Fixing WordPress
In reply to: Connection lost. Saving has been disabledThanks! That may have done it. My development server runs much slower than the production server, so maybe the autosave interval is all it needs.
Forum: Fixing WordPress
In reply to: Can't Write Error LogsIt turns out that running the following PHP page does write and save to the file:
<?php function log( $msgs ) { $filepath = "log.txt"; $lineBreaks = PHP_EOL . PHP_EOL; $file = fopen( $filepath, "c" ); foreach( $msgs as $msg ) { fwrite( $file, $msg . $lineBreaks ); } fclose( $file ); } log( array( 'Hi there!', 'This is a message.' ) ); ?>But when I paste this function into my WordPress plugin, it says permission denied. Why?
Viewing 5 replies - 1 through 5 (of 5 total)