Sign in to follow this  
Followers 0

functions php wont take code but works on chat lady site - header

6 posts in this topic

Hello when I added code I kept getting erros for changing the link on my header image to point to the map page rather than home page ( as it has the address and emial on it )


When I added code - from forum - with her help it shut donw my site and I had to re-load functoins php

file over and over again.


we did several things and then she asked me to load the paste below to my page - just re-do the entire thing as it worked fo rher on her site. 

it shut my site down and made it a mess - so I reloaded the php file and it came back - thank goodness!


funny thing is - the site was a mess but the top image linked as it should -

here is the link to hte php - that i discussed.


this is the code that just wont work on my pagelines customeize functoins file


here is the screen shot of how to entner it and I did just that.


Thank you for help - I could sure like to get htis header to link to that page and keep the site in order

Share this post

Link to post
Share on other sites

Hi there, I've just tested and that code is working for me as well.


I've checked how you've entered on the links above and there's no error I can see there so it must be something else which is causing it to break. Was there any form of error message when the site went down? Usually you'll get a white screen with a warning or error mesage across the top. If you could let us know that message it might help to work out what was causing the problem.


Also can you go into Pagelines>site options>advanced and enable to debug panel for us. Let us know when this is done and we'll check to see if anything is a miss.

Share this post

Link to post
Share on other sites

I will - Thank you

Yes the pagelines chat help had me use the pastebox and we kept getting errors on certian lines..

so we fixed it all  but the site went down.

Inbetween , we kept re-uploading the functoins.php file via filezilla

and starting over.

So.. she took the code and made it work on her land.. and had me paste that entire page in.. and it shut donw my site. She told me - we are out of options you better go to the forum.

So thank you.


I will go to debug.. and get back to you in the next 2 hours. Sorry for the delay.

Share this post

Link to post
Share on other sites

Hi there,


That code is definitely working for me too, have just double tested on my test site.


Looking into your debug information you have the following,


PHP User : Posix functions are disabled on this host!

PHP Magic Quotes gpc : Yes (bad)

I'd suggest contacting your host and ask them to correct this as this could be causing the problem in your functions.php.


However, if you could let us know the error message you get, then we might be able to advise further on what the cause could be.

Share this post

Link to post
Share on other sites

Drat- godaddy told me " we just dont do that stuff" I am a graphic artist who can div and tag and css and html.. but after that Im over n out.

If you have any toher solutions I would be very interested, and thank you for your time so far.


Share this post

Link to post
Share on other sites

Hm, that's inconvenient, since they should be able to correct that especially since it's something they can only do on their end. Is there any error message you're getting at all?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0

  • Similar Content

    • linking words used in section, to anchors located in other sections
      By cliffordprimer+
      Trying my best to link words in a section to another section on the same page that provides more detail. Is there any way to do this.
      Brand new to pagelines -- using Voyant theme.
    • Can we add a URL link to a Media Box image?
      By ipitts+
      We are using Pagelines >> DMS2 theme. We are using the DMS2 Media Box module on several pages throughout our site. The media box includes an image thumbnail with hyperlinked text (below the thumbnail - located in the embedded HTML text editor).  We would like for users to be able to click on the image in addition to the accompanying text. Is there a way to add a hyperlink on the image itself?
      Please see the attached screenshot. You'll see we have "Compatibility Matrix" thumbnail image & text within the "Text & Embedded HTML" section that provides an <a href="...."></a> to direct visitors to another page. 
      We tried to follow this post (, but it did not help us solve our challenge. 
      Thank you very much for your help,
      Marie Thiele
      Marketing Coordinator, Syn-Apps LLC
      media box.tiff
    • Scroll Link With Open Button
      By jagipson+
      I am trying to make a scroll anchor to move down the page but once it get there it opens the button. I have the scroll part that was easy but how do I get the button open the form once it scrolls down? I am trying to accomplish what this website has:  You press the Apply Now button and it scrolls down to the other apply button and then opens it all by clicking the one button any suggestions on how i can accomplish this?
    • Link Text Color
      By paulweller84+
      Can anyone shed any light on how I would change the colour of this link text to white? I've styled it using inline CSS but the #FFF is not working, instead it is showing a shade of grey.
    • Header Image in Whitehousepro 6
      By lbhansen
      I am not a web pro and I've been away from DMS for more then six months so I'm almost at square one. This may be a general question but I happen to be working with the Whitehousepro 6 theme.
      Where is the header image defined. I want to replace it with my company logo. By "header image" I am referring to the PageLines leaf with "WhiteHousePro 6" as an image the has an underlying link to the site's home page.
      (Am I asking this question in the right place? Are there some fundamentals I should learn about how to properly use the forum?)