ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

cp url not updating

September 07, 2011 7:21pm

Subscribe [2]
  • #1 / Sep 07, 2011 7:21pm

    zerovapor

    14 posts

    Im trying to use CP Analytics to integrate google analytics into the site. I have not updated to 2.2.2 (yet). but for some reason it keeps pull the url of the dev cp panel instead of the production server

    so im getting

    dev.mysite.com
    instead of
    <a href="http://www.mysite.com">http://www.mysite.com</a>

    I have edited the config file and set the proper cp url.

    if i got to admin/system administration/config editor it shows up with the production url.

    I tried to use the REElocate module when i serach for dev.mysite.com it shows up as the link to the cp.

  • #2 / Sep 07, 2011 7:24pm

    Focus Lab Dev Team

    1129 posts

    Can you share the line of code in your config file with the path?

  • #3 / Sep 07, 2011 7:25pm

    zerovapor

    14 posts

    $config['cp_url'] = "http://www.lexandterry.com/admin.php";
  • #4 / Sep 07, 2011 7:36pm

    Focus Lab Dev Team

    1129 posts

    Do you have anything in admin.php that overrides that value?

  • #5 / Sep 07, 2011 7:40pm

    zerovapor

    14 posts

    Ah yeah the wrong url was set in there.Hum I don’t remember setting that though.  Thank Erik I owe you lunch now 😛

  • #6 / Sep 07, 2011 7:41pm

    Focus Lab Dev Team

    1129 posts

    Haha sounds good. I’ll cash in soon 😊

  • #7 / Sep 07, 2011 7:44pm

    zerovapor

    14 posts

    Ha ha wait till at lest Friday I’m about tapped out 😛 I might even buy ya a beer hahaha. Thanks a lot !!

  • #8 / Sep 07, 2011 7:47pm

    Focus Lab Dev Team

    1129 posts

    Oh no worries. I’m in no rush. Probably out of the office the rest of this week anyways. 😊

  • #9 / Sep 07, 2011 7:49pm

    zerovapor

    14 posts

    *cough* slacker hahah thats cool just drop me a line when your ready.

  • #10 / Oct 11, 2011 2:09am

    I’m having a similar issue ... except I cannot take anyone out to lunch!

  • #11 / Oct 11, 2011 9:27am

    Focus Lab Dev Team

    1129 posts

    I’m having a similar issue ... except I cannot take anyone out to lunch!

    Ouch. Sounds like you’re out of luck then.

    Seriously though - what’s the issue at hand? How does it differ from zerovapor’s above?

    Erik

  • #12 / Oct 11, 2011 10:30am

    I am getting a “Cannot find config file (expressionengine/config/config.php)” when I attempt to install the new EE update using admin.php. I believe there is a discrepancy with the

    $config['cp_url'] =

    TAG

    My admin.php file is in the root folder. When I run the admin.php, should

    $config['cp_url'] =
    be
    $config['cp_url'] = <a href="http://www.mysite.com/admin.php">http://www.mysite.com/admin.php</a>?

    ??

    Thanks!
    I’ll send you lunch through paypal :p haha

  • #13 / Oct 11, 2011 1:36pm

    I figured it out 😊!!

  • #14 / Oct 12, 2011 11:26am

    Focus Lab Dev Team

    1129 posts

    Glad you got it sorted. What was the issue?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases