Go Back   Pligg CMS Forum > Pligg Development > Pligg Templates > Template Support > Old Templates > "Digital Nature"

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-27-2007, 03:00 PM
Pligg Donor
 
Join Date: Jan 2007
Posts: 17
Thanks: 1
Thanked 2 Times in 2 Posts
Missing upcoming_center.tpl file

Does anyone can shed some light to this error?:

Code:
Fatal error: TPL: [in line 0]: syntax error: file 'bumpal/upcoming_center.tpl' does not exist in /home/bumpalco/public_html/class.template.php on line 898
I am getting this when I click to the upcoming page tab. The template was working nice before I upgraded my 9.0 build 707 Pligg to version 9.1. I use a slightly modified version of the Digital nature template.
Reply With Quote
  #2 (permalink)  
Old 02-27-2007, 03:19 PM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
download version 9.1 again and grab the file from there. It should go in /templates/your_template/
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #3 (permalink)  
Old 02-27-2007, 03:27 PM
Pligg Donor
 
Join Date: Jan 2007
Posts: 17
Thanks: 1
Thanked 2 Times in 2 Posts
Thank you, I already did this.
Am I assuming correct that upcoming_center.tpl replaced shakeit_center.tpl?

I copy ({$totalupcoming} from old shakeit_center.tp to upcoming_center.tpl but it doesn't seem to substituted. Any ideas about that?
Reply With Quote
  #4 (permalink)  
Old 02-27-2007, 03:35 PM
Pligg Donor
 
Join Date: Jan 2007
Posts: 17
Thanks: 1
Thanked 2 Times in 2 Posts
In addition, could you please explain to me the difference between shakeit.php and upcoming.php? It seems like doing the same thing but using their respective template files shakeit_center and upcoming_center. I think shakeit.php is used when displaying the first page of upcoming stories and upcoming.php is used for the rest of them.
Reply With Quote
  #5 (permalink)  
Old 02-27-2007, 03:40 PM
Pligg Donor
 
Join Date: Jan 2007
Posts: 17
Thanks: 1
Thanked 2 Times in 2 Posts
For anyone interested, the problem with the substition of $totalupcoming is solved if you copy:
Code:
$upcount = $search->doCountUpcoming();
in line 56 of upcoming.php.
Reply With Quote
The Following User Says Thank You to jacarandabill For This Useful Post:
  #6 (permalink)  
Old 02-27-2007, 03:45 PM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
A few revisions before beta 9.1 we changed the names of several files. shakeit.php and upcoming.php are the same thing. Make sure to change your htaccess file to point to upcoming.php
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #7 (permalink)  
Old 05-16-2007, 02:04 PM
Casual Pligger
 
Join Date: Jan 2007
Posts: 53
Thanks: 5
Thanked 3 Times in 3 Posts
this happened to me again in 9.5. I manually added the file to my templates and all is well.
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Internal Server Error cvcxl Bug Report 2 02-29-2008 06:51 PM
cann't vote in pligg (buliding 802) haxhax Bug Report 27 03-10-2007 06:53 AM
Upgrading problem GurillaNET Installation and Upgrade Help 4 01-19-2007 10:56 AM
Internal Server Error wagthis Bug Report 12 01-16-2007 05:20 PM
Missing js file? clancey Installation and Upgrade Help 6 01-28-2006 07:11 PM


Search Engine Friendly URLs by vBSEO 3.2.0