Undefined constant “ADVMO_AWS_KEY”
-
Hello!
I am a novice. I am following your excellent instructions at How to Offload WordPress Media Files to Amazon S3: Accelerate with Cloudflare CDN – WP Fitter
I have set up Cloudflare, S3, buckets etc so far with no errors.Domain is livemusicbusiness.com. Domain for bucket is media.livemusicbusiness.com
I am at the stage of adding the constants to the wp-config.php. I have uploaded the edited version with my detail replacing the entries in the template.
I get this message:
“Fatal error: Uncaught Error: Undefined constant “ADVMO_AWS_KEY” in /home/livemusi/public_html/wp-config.php:83 Stack trace: #0 /home/livemusi/public_html/wp-load.php(50): require_once() #1 /home/livemusi/public_html/wp-admin/admin.php(34): require_once(‘/home/livemusi/…’) #2 /home/livemusi/public_html/wp-admin/tools.php(40): require_once(‘/home/livemusi/…’) #3 {main} thrown in /home/livemusi/public_html/wp-config.php on line 83″
Line 34 is define( ‘DB_HOST’, ‘localhost:3306’ ); which is MySQL hostnameLine 40 is define( ‘DB_COLLATE’, ” );
Line 82 is obviously the AWS access key which I have copied an pasted directly form AWS.
Can you advise me as to what I am doing wrong?
Many thanks,
Andy
The topic ‘Undefined constant “ADVMO_AWS_KEY”’ is closed to new replies.