Jump to content


Photo
- - - - -

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

header image link functions php pagelines customize

  • Please log in to reply
5 replies to this topic

#1 kate1000

kate1000

    Member

  • Members
  • 20 posts
  • Country: Country Flag

Posted 12 March 2013 - 07:21 PM

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.

Please Login or Register to see this Hidden Content

 

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

Please Login or Register to see this Hidden Content

 

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

Please Login or Register to see this Hidden Content

 

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



#2 James B

James B

    Advocate

  • Moderators
  • 4985 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 13 March 2013 - 04:35 AM

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.



#3 kate1000

kate1000

    Member

  • Members
  • 20 posts
  • Country: Country Flag

Posted 13 March 2013 - 11:31 AM

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.



#4 James B

James B

    Advocate

  • Moderators
  • 4985 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 14 March 2013 - 02:36 AM

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.



#5 kate1000

kate1000

    Member

  • Members
  • 20 posts
  • Country: Country Flag

Posted 18 March 2013 - 01:43 PM

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.

K



#6 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 18 March 2013 - 03:06 PM

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?







Also tagged with one or more of these keywords: header image, link, functions php, pagelines customize