SnippetMaster Support Forums
Return to main website
 
June 07, 2008, 02:23:22 AM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
June 07, 2008, 02:23:22 AM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Saving Problem « previous next »
Pages: [1] Print
Author Topic: Saving Problem  (Read 1113 times)
patdpoo

Posts: 28


WWW
[-] Saving Problem
« on: September 10, 2004, 03:00:24 PM »

I searched the forum and don't really know what to do.  I'm trying to save my edits.  It's just not updating my page.  It was at first.  I copy an pasted the demo page text and graphics into my page, and it worked.  But when I go to edit it - my page turns up blank, not saving it.  

I checked permissions and changed them to 777 on the page I'm using for the snippetmaster feed.  

Thanks, Pat Smile
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 2275

SnippetMaster Author


WWW
[-] Saving Problem
« Reply #1 on: September 10, 2004, 05:28:23 PM »

Hello,

Ok.. just to confirm.  It was working, but now it is not?

Maybe try asking your web host what they changed....   Shocked
Report to moderator   Logged
patdpoo

Posts: 28


WWW
[-] Saving Problem
« Reply #2 on: September 10, 2004, 06:38:21 PM »

Should the page be .html or .php because your demo page is .html.

I don't think my web host changed anything, but I actually have a programmer working on some other parts of the site for a custom catalog - I'll check with her.  

Pat Smile
Report to moderator   Logged
patdpoo

Posts: 28


WWW
[-] Saving Problem
« Reply #3 on: September 10, 2004, 07:09:49 PM »

This is the message I get when I try to save it:

SnippetMaster v1.2.5 : SCRIPT ERROR

SnippetMaster was unable to continue due to the following error:

There was an error opening /home/stubbies/public_html/catalog/news/demo.html
Please check permissions for that directory and file, so that they have necessary read and write permissions.
FUNC: saveText()


Where do I need to change the permissions? Shouldn't it be the news directory?  I have it on 777 - is that right?

Thanks, Pat Smile
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 2275

SnippetMaster Author


WWW
[-] Saving Problem
« Reply #4 on: September 10, 2004, 07:36:25 PM »

You will need to give each file that you wish to edit with SnippetMaster write permissions.

/home/stubbies/public_html/catalog/news/demo.html

that's the file you need to chmod 777.

 Very Happy
Report to moderator   Logged
patdpoo

Posts: 28


WWW
[-] Saving Problem
« Reply #5 on: September 10, 2004, 07:49:53 PM »

HI, I guess I didn't chmod the individual files.  It appears to be working here now:
http://galahad.rtsdns.net/~stubbies/catalog/news/news.php

Question, I went back to the admin panel to edit "news.php" page and the drop down of file list only gave me "demo.html" and didn't show the "news.php" in that list, so I didn't see how I could edit it.  

Pat Smile
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 2275

SnippetMaster Author


WWW
[-] Saving Problem
« Reply #6 on: September 10, 2004, 10:03:12 PM »

Quote from: patdpoo
Question, I went back to the admin panel to edit "news.php" page and the drop down of file list only gave me "demo.html" and didn't show the "news.php" in that list, so I didn't see how I could edit it.  
Only the files that have valid snippet tags will be displayed.

If your news.php file has invalid snippet tags, or if there's a problem with the tags, then the file will not be listed in the dropdown list.

Be sure there are matching open and close snippet tags, etc...
Report to moderator   Logged
patdpoo

Posts: 28


WWW
[-] Saving Problem
« Reply #7 on: September 11, 2004, 08:11:11 AM »

My current page news.php does have valid snippet tags.  That is why it orginally showed up under the drop down list and I was able to add the text text to it.  

It's when I went back to edit that it didn't display that page any longer in the drop down list to edit, on the demo.html.  

I took a look at your demo.html page, to see what I might be doing wrong, but it looks ok.  The only thing I saw different was the doc type at the top of the page.  Your doc type is:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4.0//EN">

should I put that on my news.php page?  And should I use .php or.html?

Thanks, Pat Smile
Report to moderator   Logged
patdpoo

Posts: 28


WWW
[-] Saving Problem
« Reply #8 on: September 11, 2004, 08:32:27 AM »

I looked a little closer at the file and found the indeed the closing tag was no longer there.  So I added the closer file and the doc type you had at the top of the demo page, and I was able to edit.  Now the drop down is displaying the page in which I can edit.  

So all is well.  

Thanks for your help.

Pat Smile
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 2275

SnippetMaster Author


WWW
[-] Saving Problem
« Reply #9 on: September 11, 2004, 09:25:21 AM »

I figured it was the snippet tags.   Wink

The first "doc" line isn't needed.. that's just to make the html standards compliant.

Let me know if you get stuck with anything else and I'll do my best.

Cheers!
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Saving Problem « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!