Home | Downloads | Support | Purchase | Add-on Features
SazCart Support Forum
September 05, 2010, 02:04:36 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: SazCart v1.5.1 Released!
 
   Home   Help Search Login Register  
Pages: [1] 2 3 ... 10
 1 
 on: March 18, 2010, 12:12:30 am 
Started by cpmorin - Last post by cpmorin
Good day to all!
I'm getting an error message (error 17, can't upload image) when I try to upload an image (a 60K jpeg file) using the Admin page. I'm working on a test server (localhost) running MAMP - yes, it"s a Mac - and everything's been working just fine, exept this.
Is there a limit on the file size? Should the JPEG file be in a specific directory (duh - we Mac guys say "folder") to begin with? Is the error happening because it's a test server?
Context update: I'm a graphic artist, not a web programmer, and that is why I really like this software. It's insanely cool, affordable and practical. I'm getting my licence right now.

 2 
 on: May 22, 2009, 05:02:31 pm 
Started by iaqsuk - Last post by iaqsuk
i figured out the prob.  I check with my hosting co. was a session issue.  working now.

 3 
 on: May 22, 2009, 10:43:08 am 
Started by iaqsuk - Last post by iaqsuk
installed correctly, but both admin and user login doesn't work.  however, new registration worked?

 4 
 on: April 22, 2009, 10:50:02 pm 
Started by hass1980 - Last post by saztar
Ah, I have ran into this before. it is due to wamp saying it is a unix/linux server, but is infact a windows server. I forget how I fixed it (i use apache2traid)

however you can manual install the script, build the database in the SQL file, put that information in the config file. that should be all you really have to do, there is also the site_url and site_dir in the database and un/pw for the first admin user.

Tony~!

 5 
 on: April 22, 2009, 02:46:44 am 
Started by hass1980 - Last post by hass1980
Hi

I'm using Wamp and have unzipped the sazcart folder in the www file. But when i go to the address bar and type http:/localhost/sazcart/install

I get this error

Not Found
The requested URL /SazCart/install was not found on this server.

any ideas?

 6 
 on: March 03, 2009, 09:33:12 am 
Started by geminis - Last post by geminis
ok, i glad to hear you ... i have many littles addes like thats, for ex. rotate banners in header, random scroll images down the menu, etc ... if you want, with time, i put all here.
See you.

 7 
 on: March 02, 2009, 09:35:50 pm 
Started by geminis - Last post by saztar
I personally have no problem and really encourage community support and additions.

 8 
 on: March 02, 2009, 05:05:53 pm 
Started by geminis - Last post by geminis
good deal, thanks for the post, hope it helps a few others looking to do the same.

Tony~!

No problem tony, any time. In first I was afraid that the script was violating the rules of the place. I`m glad to this little contribution help some body.
Regards.

 9 
 on: March 02, 2009, 04:03:41 pm 
Started by geminis - Last post by saztar
good deal, thanks for the post, hope it helps a few others looking to do the same.

Tony~!

 10 
 on: March 01, 2009, 05:15:26 pm 
Started by geminis - Last post by geminis
ok, IS DONE ...! wass very simply in fact.

file: layout/default/pages/details.php

find:
<center><img src="<?print $_saz['settings']['site_url'] . $image;?>" alt="<?print $prod_details['prod_title'];?>" border="0" /></center>
Reemplace by:
<center><img src="watermark.php?i=<?print $_saz['settings']['site_url'] . $image;?>" alt="<?print $prod_details['prod_title'];?>" border="0" /></center>

Find:
<center><a href="<?print $_saz['settings']['site_url'] . $fullimage;?>" target="_blank"><?print $_saz['words']['enlarge'];?></a></center>
Reemplace by:
<center><a href="<?print $_saz['settings']['site_url']?>watermark.php?i=<? print $_saz['settings']['site_url'] . $fullimage;?>" target="_blank"><?print $_saz['words']['enlarge'];?></a></center>

Add the file watermark.php in root dir
<?php 

$image 
$_GET['i']; 
$watermark "water.png"

$im imagecreatefrompng($watermark); 

$ext substr($image, -3); 


if(
strtolower($ext) == "gif") { 
if (!
$im2 imagecreatefromgif($image)) { 
echo 
"Error opening $image!"; exit; 

} else if(
strtolower($ext) == "jpg") { 
if (!
$im2 imagecreatefromjpeg($image)) { 
echo 
"Error opening $image!"; exit; 

} else if(
strtolower($ext) == "png") { 
if (!
$im2 imagecreatefrompng($image)) { 
echo 
"Error opening $image!"; exit; 

} else { 
die; 


imagecopy($im2$im, (imagesx($im2)/2)-(imagesx($im)/2), (imagesy($im2)/2)-(imagesy($im)/2), 00imagesx($im), imagesy($im)); 

if(
$_GET[repeat]) { 
$waterless imagesx($im2) - imagesx($im); 
$rest ceil($waterless/imagesx($im)/2); 

for(
$n=1$n<=$rest$n++) { 
imagecopy($im2$im, ((imagesx($im2)/2)-(imagesx($im)/2))-(imagesx($im)*$n), (imagesy($im2)/2)-(imagesy($im)/2), 00imagesx($im), imagesy($im)); 
imagecopy($im2$im, ((imagesx($im2)/2)-(imagesx($im)/2))+(imagesx($im)*$n), (imagesy($im2)/2)-(imagesy($im)/2), 00imagesx($im), imagesy($im)); 



header("Content-Type: image/jpeg"); 
imagejpeg($im2); 
imagedestroy($im); 
imagedestroy($im2); 

?>

and finaly put a file water.png in root dir.
Thats all.

Regards.


Pages: [1] 2 3 ... 10
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media