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.

IP address?

March 30, 2012 4:17pm

Subscribe [3]
  • #1 / Mar 30, 2012 4:17pm

    fusiondesigner

    20 posts

    Any ideas why my direct image links point to the ip address?

    Trying to get my site functioning 100%.

    brazil soccer team pic

    sfw

  • #2 / Mar 30, 2012 5:04pm

    glenndavisgroup

    436 posts

    Hi fusiondesigner,

    Check your settings in the CP under “Content > File Manager > File Upload Preferences”. You should see all the folders you have setup for your images/files that you upload to. Click the pencil icon to edit the preferences for the folder in question and check the URL you have setup for it and make the change. I hope that helps.

    Mike

  • #3 / Apr 02, 2012 11:58am

    Shane Eckert

    7174 posts

    Hey fusiondesigner,

    Looks like your links are working now without listing the IP.

    Did Mike’s suggestion help?

    Is there anything else I can do for you?

    Cheers,

  • #4 / Apr 04, 2012 7:25pm

    fusiondesigner

    20 posts

    Thanks, fixed that, took me a while to update to 2.14 as it didn’t do anything for ages, and I am not sure what mistakes were causing that, however now I am getting 500 errors on everything but the homepage and the images are missing. I am still testing the script because I have almost zero experience in it.

  • #5 / Apr 05, 2012 5:33pm

    fusiondesigner

    20 posts

    What would most likely cause 500 errors, It started doing this after updating

  • #6 / Apr 05, 2012 10:30pm

    glenndavisgroup

    436 posts

    It looks like you need to enable php output for some of your templates/pages. When I view the html source for this page:

    http://www.twistedcollege.com/pictures/details/brazilian-womens-soccer-team-naked

    I can actually see your php code in there like the following:

    <?php $cnt = 1;?>
         
         <div class="
         <?php 
         if($cnt%2!=0)
         echo 'comment_bg';
         else
         echo 'comment_non_ng';
         $cnt++; ?>" >
          yum, would love to be in that shower.
           
          by <span class="com_name">twist</span> on <span class="com_date">August 01, 2011</span>
          </div>

    Not sure if this is what might be causing the problem?

    500 error messages mean an internal server error which most likely is caused by a PHP code block. It might be something as simple as a syntax error in your PHP.

    Mike

  • #7 / Apr 06, 2012 2:50pm

    Robin Sowell

    13255 posts

    fusiondesigner, from here it looks like things are working now?  Page is loading fine for me.  Are you still experiencing any issues?  (And a 500 error is really vague- it’s kind of a catch-all error message.  If the php wasn’t parsing at all?  I’d say it was a server setting.)

  • #8 / Apr 06, 2012 3:25pm

    fusiondesigner

    20 posts

    It looks like you need to enable php output for some of your templates/pages. When I view the html source for this page:

    http://www.twistedcollege.com/pictures/details/brazilian-womens-soccer-team-naked

    I can actually see your php code in there like the following:

    <?php $cnt = 1;?>
         
         <div class="
         <?php 
         if($cnt%2!=0)
         echo 'comment_bg';
         else
         echo 'comment_non_ng';
         $cnt++; ?>" >
          yum, would love to be in that shower.
           
          by <span class="com_name">twist</span> on <span class="com_date">August 01, 2011</span>
          </div>

    Not sure if this is what might be causing the problem?

    500 error messages mean an internal server error which most likely is caused by a PHP code block. It might be something as simple as a syntax error in your PHP.

    Mike

    I noticed that, how do you enable php output? The 500 error was a htaccess file

  • #9 / Apr 06, 2012 4:05pm

    Robin Sowell

    13255 posts

    Go to Design- Templates- Template Manager and for the relevant template(s) click ‘Edit Preferences’ and look for ‘Allow PHP?’- set that to ‘yes’.  Having it parsed on input vs. output?  Does matter in many circumstances.  In this case, I suspect you want it parsed on output.

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

ExpressionEngine News!

#eecms, #events, #releases