Where is the template for download/file.php?

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Get Involved
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
pumpkinkid
Registered User
Posts: 91
Joined: Wed Oct 31, 2007 3:36 am

Where is the template for download/file.php?

Post by pumpkinkid »

It seems that my theme has some weird glitch parsing that page. My header is all messed up. I cant seem to find it on styles/{stylename}/templates/

Any help?

P.S. I realize that it should not have a header if the file is still available, Im trying to fix it should it show up with "file does not exist"
Last edited by pumpkinkid on Fri Aug 29, 2008 11:15 pm, edited 1 time in total.

User avatar
Phil
Former Team Member
Posts: 10403
Joined: Sat Nov 25, 2006 4:11 am
Name: Phil Crumm
Contact:

Re: Where is the template for download/file.php?

Post by Phil »

file.php should not call a template file. What's the error you're receiving?
Moving on, with the wind. | My Corner of the Web

pumpkinkid
Registered User
Posts: 91
Joined: Wed Oct 31, 2007 3:36 am

Re: Where is the template for download/file.php?

Post by pumpkinkid »

lol. wow your quick, I edited my post on that, but I moved my files out of the files folder and saw that the header was messed up when it alerts you that the file does not exist

User avatar
Phil
Former Team Member
Posts: 10403
Joined: Sat Nov 25, 2006 4:11 am
Name: Phil Crumm
Contact:

Re: Where is the template for download/file.php?

Post by Phil »

Can you explain what you mean by best ever?
Moving on, with the wind. | My Corner of the Web

pumpkinkid
Registered User
Posts: 91
Joined: Wed Oct 31, 2007 3:36 am

Re: Where is the template for download/file.php?

Post by pumpkinkid »

If you go to the user control panel, and look at the "manage attachments" link, u see a list of all the attachments the user has made. however, if the file you try to look at is not located in the files/ folder, it reports
The selected attachment does not exist anymore.

The file ./../files/2_0700811eb72dbe1a662cb021a08dbac9 does not exist.
This is placed in a page where the overall_header is called along with the overall_footer

My problem is that it seems that there is a glitch in the way that my template appears. I tried doing it in prosilver and it appears perfectly.

User avatar
Phil
Former Team Member
Posts: 10403
Joined: Sat Nov 25, 2006 4:11 am
Name: Phil Crumm
Contact:

Re: Where is the template for download/file.php?

Post by Phil »

Can you please be more specific about this "glitch"? It's almost impossible to debug with limited information.
Moving on, with the wind. | My Corner of the Web

pumpkinkid
Registered User
Posts: 91
Joined: Wed Oct 31, 2007 3:36 am

Re: Where is the template for download/file.php?

Post by pumpkinkid »

I just need to know how the overall_header is being called. The glitch is that my header has a large banner in which it is 875x165 pixels. In the page where file.php displays that the file does not exist, the banner appears, however the viewing area is 875x10.

Locked

Return to “[3.0.x] Support Forum”