Jump to content


Photo

I screwed up big time. Fatal error, my fault.


  • Please log in to reply
8 replies to this topic

#1 jason_anagram

jason_anagram

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 18 February 2011 - 06:33 AM

So I was attempting to update PlatformPro this evening, and trying to do too many things at once. I opted to do the FTP install for the update, and long story short, ended up dropping the files in what I presume was the wrong location (I'm actually quite sure it was the wrong location). Now my domain is only showing the following: Fatal error: Call to undefined function setup_pagelines_template() in /home/jlombard/public_html/index.php on line 9 Fortunately it's a test domain, and isn't live yet. However, I do have a decent amount of time in the setup and would hate to lose what I had permanently. I'm a designer (thus my need for PlatformPro), and while I do get around okay in HTML and CSS, I'm lost when it comes to PHP and I'm totally new to the Wordpress platform. When I look at the dashboard, it looks like all of the settings are still there, so I'm hoping that someone can tell me how to fix the function call in the index page. Thanks in advance.

#2 jason_anagram

jason_anagram

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 18 February 2011 - 07:30 AM

Okay, after much fretting, I think I got it. The base index.php file was replaced for WP. It *seems* to be working now. We'll see...

#3 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts
  • Country: Country Flag

Posted 18 February 2011 - 05:43 PM

:/ let us know if anything comes up.

#4 camaleo

camaleo

    Member

  • Members
  • PipPip
  • 11 posts

Posted 10 June 2011 - 05:21 PM

Hi, I am trying to upgrade from PlatformPro 1.3.0.2 to 1.5.0. After having replaced the /platformpro folder I ge the following error: Fatal error: Call to undefined function setup_pagelines_template() in /Users/ugo/uuu/site.com/wp-content/themes/platformpro/page.php on line 6 How can I fix this problem? thanks

#5 kastelic

kastelic

    Advocate

  • Members

  • 3081 posts
  • Country: Country Flag

Posted 10 June 2011 - 10:18 PM

I would rename your old theme to something like platformOLD and then upload a fresh copy of the latest update, so that it is not overwriting anything. Then Activate it and you shouldn't have any problems. If this doesn't work, what were the exact steps you took in updating the theme?

#6 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 10 June 2011 - 10:21 PM

make sure you upload to the correct directory! `wp-content/themes/platformpro/` <- theme files in here NOT `wp-content/themes/platformpro/platformpro/`

#7 camaleo

camaleo

    Member

  • Members
  • PipPip
  • 11 posts

Posted 11 June 2011 - 11:42 AM

the folder was properly installed, I guess something went wrong when copying it as I just replace it and now it works. Thank you for answering!

#8 carl007

carl007

    Advanced Member

  • Members
  • 37 posts
  • Country: Country Flag

Posted 27 June 2013 - 11:39 PM

Just to say, i had similar problem today, i was updating one of my sites to latest version of pagelines and encountered :

 

Fatal error: Call to undefined function setup_pagelines_template() in/xxxxxxxxxx/xxxxx httpd.www/wp-content/themes/pagelines/page.php on line 22 ......

 

I followed the advise above, ftp>change the pageslines folder name > install a fresh copy via ftp> on wp dashboard activate the new copy of pageslines ( note you might notice seeing two copies, but you will know which one is the fresh copy> in my case I had to put back some widgets. 

 

Fortunately i had a backup on another server and was able to use the setting info on the site. 

 

Cheers



#9 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 28 June 2013 - 12:16 AM

Glad you got it sorted Carl