PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds How do I...?

Classifieds How do I...? Wondering how to do something in Classifieds?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old May 18th, 2010, 12:21 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2010
Posts: 9
Changed Permissions on Template files - Broken Classifieds System?

So I was looking at some edits people had made to remove the auction fields from the uploadproduct.tmpl but i noticed i was not able to save the template file after i made changes. The admin panel was reporting that the proper permissions were not set on those files.

I changed all the tmpl files in the vb3enhanced directory to 666 and i think i broke something.

Now i can't even get into my admin panel, i get these error messages in my browser.

Quote:
Warning: include(/home/dirtyimp/public_html/classifieds/templates/vb3enhanced/thumbnail.tmpl): failed to open stream: Permission denied in /home/dirtyimp/public_html/classifieds/pp-inc.php on line 369

Warning: include(): Failed opening '/home/dirtyimp/public_html/classifieds/templates/vb3enhanced/thumbnail.tmpl' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dirtyimp/public_html/classifieds/pp-inc.php on line 369

Warning: include(/home/dirtyimp/public_html/classifieds/templates/vb3enhanced/ppopen.tmpl): failed to open stream: Permission denied in /home/dirtyimp/public_html/classifieds/pp-inc.php on line 4602

Warning: include(): Failed opening '/home/dirtyimp/public_html/classifieds/templates/vb3enhanced/ppopen.tmpl' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dirtyimp/public_html/classifieds/pp-inc.php on line 4602

Warning: include(/home/dirtyimp/public_html/classifieds/templates/vb3enhanced/ppclose.tmpl): failed to open stream: Permission denied in /home/dirtyimp/public_html/classifieds/pp-inc.php on line 4603

Warning: include(): Failed opening '/home/dirtyimp/public_html/classifieds/templates/vb3enhanced/ppclose.tmpl' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dirtyimp/public_html/classifieds/pp-inc.php on line 4603
Is there any easy way to restore access to my system? Its non-production but i was hoping to go live very soon. Thanks for any help you can offer!
409industries is offline   Reply With Quote
Old May 18th, 2010, 12:29 AM   #2 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2010
Posts: 9
/home/dirtyimp/public_html/classifieds/pp-inc.php on line 369

This refers to:

// Get the thumbnail templates
include( "{$Globals['TMPL_PATH']}/{$Globals['thumbborder']}.tmpl" );


Warning: include(): Failed opening '/home/dirtyimp/public_html/classifieds/templates/vb3enhanced/ppopen.tmpl' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dirtyimp/public_html/classifieds/pp-inc.php on line 4602

Line 4602 and 4603 refer to

include "{$Globals['TMPL_PATH']}/ppopen.tmpl";
include "{$Globals['TMPL_PATH']}/ppclose.tmpl";


Simply put, it looks like a permission issue. What can i change back so that there is the proper access to files that the program needs to operate normally?
409industries is offline   Reply With Quote
Old May 18th, 2010, 07:33 AM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
well is your templates directory 755?

The templates within the templates/vb3enhanced folder 666?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 18th, 2010, 11:35 AM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2010
Posts: 9
Chuck-

Again, thanks for your help. I double checked the permissions on the templates directory, and everything appears to be working again. So this is good!

Now, with all my templates within the vb3enhanced directory set to 666 i shouldn't have an problems editing them right?
409industries is offline   Reply With Quote
Old May 18th, 2010, 11:54 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
Nope you should be fine
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 18th, 2010, 05:19 PM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2010
Posts: 9
I made some edits to the uploadproduct.tmpl and editproduct.tmpl pages (basically removing the auction, paypal, and quantities fields). I used info that i found on this page as a guide: Removing Ad Fields

Only after i made those changes did IE start barking about errors on the following two pages.

One one each of the uploadproduct.php pages:

Line: 339
Char: 14
Error: Expected identifier, string or number
Code: 0
URL: Login - DirtyImpreza.com Classifieds


On the showproduct.php page:

Line: 2
Char: 1
Error: Syntax error
Code: 0
URL: test car - DirtyImpreza.com Classifieds


The system appears to function just fine, but i would like to see if I can edit the PHP pages so that Internet Explorer won't report that there are errors on the page.

Thanks so much!

-Aaron
409industries is offline   Reply With Quote
Old May 18th, 2010, 07:08 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
well I don't see any errors. I would suggest you compare your edited template to a stock template and see if something is changed you should not be changing.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 19th, 2010, 01:09 PM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2010
Posts: 9
Quote:
Originally Posted by Chuck S View Post
well I don't see any errors. I would suggest you compare your edited template to a stock template and see if something is changed you should not be changing.
I thought so too, so i re-uploaded the original versions of the files that it was complaining about and still IE (7.0.5730.13) has that little yellow "!" icon on the lower left hand corner. Very strange indeed.

Firefox doesn't report the problem...
409industries is offline   Reply With Quote
Old May 19th, 2010, 03:14 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
your using default files and have an issue on just those two templates

url and test login?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 19th, 2010, 03:58 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2010
Posts: 9
Yeah it really weird because everything works fine, i guess IE just has a problem with some syntax, etc.

Here ya go to test:

Main Index - DirtyImpreza.com Classifieds

user: support3
pass: photopost123
409industries is offline   Reply With Quote
Old May 20th, 2010, 07:40 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
right but no error with clean classifieds no edits? tried turning off your vb header and seeing if the error is still there?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
postbit template broken messenger links moonclamp Bugs - vBulletin 3.5.X 10 March 21st, 2006 08:09 PM
changed user group permissions now no photos on index dptech Photopost Pro Installation & Upgrades 6 November 18th, 2005 05:16 PM
Broken Images on included files artsculture Classifieds Bug Reports 5 August 6th, 2005 03:15 PM
host changed my permissions and... Happy Camper Installs and Upgrade - vBulletin 3.0.X 2 June 9th, 2005 08:38 PM


All times are GMT -5. The time now is 10:23 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0