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 Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 19th, 2005, 01:48 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 142
When I open menubar.tmpl it's empty.(FIXED)

I'm using Mozilla firefox & new to PP Classifieds.

When I try to open medubar.tmpl through the GUI, with menubar.tmpl approximately in the middle of the page when I select it....

as soon as I click "Edit Template" it scrolls the selected menubar.tmpl to the bottom of the visible selection box & opens up an empty template window.


Also, have you guys considered adding something like:

"You are editing the template: $templatename " on the editor window?

I could see how problems could arise from not having the template name there.
Jeremy is offline   Reply With Quote
Old November 19th, 2005, 01:57 AM   #2 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 142
So I unzipped again in a temp dir & uploaded (via the gui) a new menubar.tmpl...

no dice.

It just saves an 2 byte file.


This was the first template I edited as a test....


hmm l'll try again with another template and see if it gets deleted as well:

open onlinepal.tmpl ..... opens fine
click "Update onlinepal.tmpl" .... says it saved
click "edit templates"
open onlinepal.tmpl again..... GONE!

Grr.

So whats the problem here?
Jeremy is offline   Reply With Quote
Old November 19th, 2005, 11:21 AM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
Okay in adm-misc.php try adding or changing the code in bold around line 2611 and then make the lines noted below as I have them posted

Code:
Content visible to verified customers only.
then around line 2634

Code:
Content visible to verified customers only.
then at line 2655

Code:
Content visible to verified customers only.
then at line 2678

Code:
Content visible to verified customers only.
then line 2700 should be this

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; November 19th, 2005 at 12:44 PM.
Chuck S is offline   Reply With Quote
Old November 19th, 2005, 12:12 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 142
Code:
Content visible to verified customers only.
Is that a typo? If not, then config-intr.php does not exist.


I really appreciate the fast reponses and support found on Photopost, but this bug brings about some questions. I'm running a the most recent version, with VB3.5.1 integration - a combo that is not only supported, but (VB integration anyway) used by alot of the PhotoPost users...


Why is this occurring on my install?
Nothing is really out of the ordinary here afaik.

Will this base code be changed to match the fixes above in future releases?
Jeremy is offline   Reply With Quote
Old November 19th, 2005, 12:21 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
require"config-int.php";

yep it is a bug not selecting the proper template to save so this should fix it and be included in future releases
__________________
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 November 19th, 2005, 12:22 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 142
Warning: fopen(/usr/home/domain/WWW/classifieds/templates/vb3enhanced//menubar.tmpl): failed to open stream: Permission denied in /usr/home/domain/WWW/classifieds/adm-misc.php on line 2693

Unable to write changes, permissions on menubar.tmpl are not set properly.


Permissions on the folder and all files inside are 777.

They are owned by a system user/group, but the WWW user shouldn't have a problem doing anything in that directory to any of the files.

As a test, I changed ownership of the folder & file to www:admin, and I'm still having the same no permissions error.





oh... I see the problem.

Looks like there is another typo in your fix somewhere:

note:

...templates/vb3enchanced//menubar.tmpl

Last edited by Jeremy; November 19th, 2005 at 12:25 PM.
Jeremy is offline   Reply With Quote
Old November 19th, 2005, 12:28 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 142
(before fixes were applied) there also seemed to be something that caused my classifieds admin style settings to go blank/white (everything else uses the integrated VB3.5.1 style settings). It was set on default, changing it to something else seems to bring it back, but default is blank still.

Ah I see. I had opened up default.css once in the stylesheet editor.

This is a related bug since the classifieds stylesheet editor uses the same file-blanking routine. Will this require a patch too?
Jeremy is offline   Reply With Quote
Old November 19th, 2005, 12:37 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 142
Ugh. There might be other problems here as well.

Directory structure looks like this:

/usr/home/domain/WWW/classifieds/templates/
... a set of templates is under here.
THIS directory is where the menubar.tmpl was being blanked.


/usr/home/domain/WWW/classifieds/templates/vb3enhanced
... a set of templates is under here as well, and I am using VB3.5.1, so I assume that this is the set of templates that it should be pulling from?

The permissions on this directory and files are not set to allow writing.
Jeremy is offline   Reply With Quote
Old November 19th, 2005, 12:39 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
I dont see anywhere in the coding I have given you that the code posted would cause an extra slash

Yes permissions need to be 666 on the files you want to write to

In fact I tested this on my install and it works flawlessly

I can not post code here but if you email me with your license number and a return email address I can send you the modified file to make sure its installed correctly and that should take care of the issue.
__________________
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 November 19th, 2005, 12:44 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 142
Quote:
Originally Posted by Chuck S
I can not post code here but if you email me with your license number and a return email address I can send you the modified file to make sure its installed correctly and that should take care of the issue.
You can't attach files here?

I'll email you now.
Jeremy is offline   Reply With Quote
Old November 19th, 2005, 12:48 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
No I can not publically post files only suggested changes
__________________
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 November 19th, 2005, 12:56 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 142
Ah. I would have thought you guys had something set up like Vbulletin.com or Vbulletin.org where certain groups [members with valid support contracts] are able to download attachments.

Being able to attach files in support situations like this would be a big time saver (for you, and us) I would think.

The "members area" forums do not appear to be open to the public...

So you just have an adccount level account that can't upload attachments?

For some reason I was under the impression that you were the main owner/coder
Jeremy is offline   Reply With Quote
Old November 19th, 2005, 01:03 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
I can attach files if I want but our company policy is not too

In fact it leads to too many support issues as people try to download attachements for different versions etc etc. causes too many headaches
__________________
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 November 19th, 2005, 01:12 PM   #14 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 142
Did this application update in the past few days?

You have other changes in here that aren't in mine.

/me checks...

Download PhotoPost Classifieds Pro, v2.42 (9/29/05 2:17 PM Build)

I guess not.



Anyway here is the other change you have that I don't:


1580c1580
< $comment = convert_markups($comment);
---
> $comment = un_htmlspecialchars(convert_returns(convert_markups($comment)));
Jeremy is offline   Reply With Quote
Old November 19th, 2005, 01:15 PM   #15 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 142
Nevermind. I think I got it...

Last edited by Jeremy; November 19th, 2005 at 01:17 PM.
Jeremy is offline   Reply With Quote
Old November 19th, 2005, 01:18 PM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
You have a path set incorrectly somewhere I can only assume here. Check to see your PP_PATH in config is set to this

/usr/home/domain/WWW/classifieds

Nothing in the code I have sent applies an extra slash on the end of that file path

I would suggest you download the current build upload the files and then upload my adm-misc.php file
__________________
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 November 19th, 2005, 01:29 PM   #17 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 142
Quote:
Originally Posted by Chuck S
I would suggest you download the current build upload the files and then upload my adm-misc.php file

Is this the current build?

Download PhotoPost Classifieds Pro, v2.42 (9/29/05 2:17 PM Build)


If so, I made my purchase a few days ago, so I assume that is what I am running.


Anyway the permissions problem was just due to the permissions on that /templates/vb3enhanced directory & files being incorrect.

Everything seems to work now.... double slash or not. Strange.

PP_PATH is correct. No trailing slash there.

Last edited by Jeremy; November 19th, 2005 at 01:32 PM.
Jeremy is offline   Reply With Quote
Old November 19th, 2005, 01:32 PM   #18 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
It should be yes I can only assume it is a path issue somewhere you have set no where do we set an extra slash anywhere. You can see the issue by looking at your error. You have an extra slash

You can email me ftp and admin login and I can see if I find anything
__________________
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 November 19th, 2005, 01:33 PM   #19 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 142
So here's a question...

since I am using VB3 integration, can I just DELETE all of the templates in the root of /home/domains/WWW/classifieds/templates ?
Jeremy is offline   Reply With Quote
Old November 19th, 2005, 01:35 PM   #20 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 142
Also as I said before... the same problem exists for the stylehseet editor.

I just tried to make a modification and blanked my default stylesheet, so apparently there needs to be a fix/patch for that as well.
Jeremy 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
5.21 uploadphoto.tmpl(OPEN) Astaran Photopost Pro Bug Reports 6 November 15th, 2005 10:18 PM
undercat.tmpl needs a break in it Rp3.01(FIXED) indiamike ReviewPost Bug Reports 1 September 5th, 2005 12:51 PM
showmember.php menubar(FIXED) Arnie ReviewPost Bug Reports 2 August 28th, 2005 07:49 PM
searchbox.tmpl problem(FIXED) mxracer95 Photopost Pro Bug Reports 5 August 1st, 2005 05:40 PM
Bug in feature.tmpl (vb3enh...)(OPEN) Mikan Classifieds Bug Reports 4 July 14th, 2005 09:57 AM


All times are GMT -5. The time now is 07:40 PM.

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