no graphics when installing templates with spartacus

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
MrLeeh
Regular
Posts: 11
Joined: Sat May 03, 2008 3:55 pm

no graphics when installing templates with spartacus

Post by MrLeeh »

Hello serendipitiers,

I' ve got an anoying problem. When installing a new template with spartacus I can' t see any graphics or images of this template (in folder /templates/newTemplate/images). I always have to change the permission for the new template-folder by typing

Code: Select all

chmod -R 775 newTemplateFolder
So it seams that the imagefiles are not permitted to be executed by anyone when installed by Spartacus. Can someone tell me how I can apply the right permissions to the installed templatefolders by default?

Thanks for your help.
regards MrLeeh
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

Go to "configure plugins" -> Spartacus... there you can specify permissions that can be applied to all files and/or folders created when downloading via spartacus.
=Don=
MrLeeh
Regular
Posts: 11
Joined: Sat May 03, 2008 3:55 pm

Post by MrLeeh »

Don Chambers wrote:Go to "configure plugins" -> Spartacus... there you can specify permissions that can be applied to all files and/or folders created when downloading via spartacus.
Works well. I just changed the permissions for directories and files to 0755. Thanks for the fast help Don Chambers.
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

Happy to help. Glad it worked out for you. 8)
=Don=
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Good job, Don.

In the future, I think we should point out that we're not "Serendipitiers", but "Serendipiteers", like "mouseketeers". :lol:

What's the blog that's fast, secure, and works so easily?
It's the best! S-9-Y! Serendipity!
With one-click plugins which can change its functionality?
It's the best! S-9-Y! Serendipity!

S9Y! (SPARTACUS!)
S9Y! (BulletProof!)
Its Smarty templating can please the eye! (S! 9! Y!)

It's the blog that demonstrates superiority!
It's the best! S-9-Y! Serendipity!

It's the best... And we're going to keep it that way!
S-9-Y... Why? Because we use it!
Serendipity!
Last edited by judebert on Fri Jun 13, 2008 1:53 pm, edited 1 time in total.
Judebert
---
Website | Wishlist | PayPal
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

OK, Judebert's losing his mind!!!! :lol: :lol: :lol:
=Don=
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Y'know the worst part? I actually spent 20 minutes coming up with that. :oops:
Judebert
---
Website | Wishlist | PayPal
Xanthouos
Regular
Posts: 115
Joined: Wed Mar 02, 2005 6:59 pm
Contact:

Post by Xanthouos »

MrLeeh wrote:
Don Chambers wrote:Go to "configure plugins" -> Spartacus... there you can specify permissions that can be applied to all files and/or folders created when downloading via spartacus.
Works well. I just changed the permissions for directories and files to 0755. Thanks for the fast help Don Chambers.
It's not working like that for me. I set the permissions the same way, and I still get a "permission denied" error in FTP.

Also, is it retroactive? In the sense that if I had installed some template, and couldn't upload say, an image to that dir, after modifying the permissions in Spartacus it should be changeable/uploadable?
If you can't be a missionary, you can support a missionary.
~~~~~~~~~~~~~~~~~~~~~
www.GetMepis.com
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!
It's not working like that for me. I set the permissions the same way, and I still get a "permission denied" error in FTP.
If you get permission denied via FTP, your user does not have the privileges to change ownerships from Spartacus, which is unrelated to FTP on some providers. You might need to use the "fixperm.php" script mentiuoned in the FAQ on www.s9y.org. If that does not work, you need to ask your provider to change permissions for you.
Also, is it retroactive? In the sense that if I had installed some template, and couldn't upload say, an image to that dir, after modifying the permissions in Spartacus it should be changeable/uploadable?
No, permissions are for future files only. Changing them does not change anything for already downloaded files/directories.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply