Home › Forums › ACF PRO › Update from 5.03 to 5.04 fails : update package not available › Reply To: Update from 5.03 to 5.04 fails : update package not available
Hi Elliot, no worries at all. Actually i’ve figured out the root of the problem. It wasn’t a temporary glitch, the defined urls for WP_HOME and WP_SITEURL were the reason.
I am developing locally with MAMP and Codekit 2. When i’ve used e.g. those settings:
define('WP_HOME', 'http://192.168.0.198:8888/mysite');
define('WP_SITEURL', 'http://192.168.0.198:8888/mysite');
even when i’ve set portforwarding for this ip and port i was unable to access the developed site from remote. But a friend suggested me the following:
define('WP_HOME', 'http://'.$_SERVER["HTTP_HOST"].'/mysite');
define('WP_SITEURL', 'http://'.$_SERVER["HTTP_HOST"].'/mysite');
With those definitions i was able that someone else could access my locally developed site from remote. I think since i’ve changed to those $_SERVER["HTTP_HOST"]
definitions other updates worked fine but it was the first update with ACF. Now i know the cause but the why i am not sure. 😉 But maybe that helps you to understand my discovered issue better. Should the update basically work with $_SERVER["HTTP_HOST"]
or not all and i shall return using local ips? Best regards Ralf
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We demoed ACF 6.1 Beta during the most recent session of ACF Chat Fridays, highlighting the new ability to regenerate and clear labels, setting the Admin Menu Parent as a slug, and more. Catch the video replay in our latest summary. https://t.co/rHEpPVas64 pic.twitter.com/hB1XKTexXi
— Advanced Custom Fields (@wp_acf) March 23, 2023
© 2023 Advanced Custom Fields.
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.