Support Forum Project Downloads FAQ Documentation About Demo Tutorials Blog Plugins
November 21, 2009, 01:11:54 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: cpg1.5.2 beta released
The brand new cpg1.5.x series that comes with a lot of new features finally has reached the release stage: a first public beta release cpg1.5.2 has been released that is mainly aimed at translators, testers and community members that have contributed in the past. The beta release is not meant to be used in a production environment, but only on testbeds and for evaluation purposes. There is currently no support for cpg1.5.x yet!
[more]
   Home   Help Search Board rules Login Register  
Pages: 1 2 [3]   Go Down
  Send this topic  |  Print  
Author Topic: Fullsize Access  (Read 21152 times)
0 Members and 1 Guest are viewing this topic.
jokas
Coppermine regular visitor
**
Gender: Male
Posts: 50


« Reply #40 on: September 10, 2008, 11:21:45 pm »

i have no luck today - the script isnt working.  Huh

if there is someone who can bring it to work, you are welcome to make me a offer by PM!
Logged

_____________________________________
|-->  J1.5.6 + CPG1.4.19 + Bridge  <--|
jokas
Coppermine regular visitor
**
Gender: Male
Posts: 50


« Reply #41 on: September 14, 2008, 09:02:55 pm »

i figured out whats wrong:

While executing query "SELECT filepath,filename FROM cpg14x_demo_pictures WHERE pid=" on 0

mySQL error:


when i try a static pid in the fullsize_secure.php then it works. so there must be a problem with:
 $query = "SELECT filepath,filename FROM " . $CONFIG['TABLE_PICTURES'] . " WHERE pid=" . $pid;

can someone explain why the pid is empty?
Logged

_____________________________________
|-->  J1.5.6 + CPG1.4.19 + Bridge  <--|
Nibbler
Dev Team member
****
Gender: Male
United Kingdom United Kingdom

Posts: 19445



WWW
« Reply #42 on: September 15, 2008, 02:09:43 am »

edit jpgdownload.php find

Code:
$file = create_fullsize_read__($HTTP_GET_VARS["pid"]);

Change to

Code:
$file = create_fullsize_read__( (int) $_GET['pid']);
Logged

I don't care about what they say, I won't live or die that way.
jokas
Coppermine regular visitor
**
Gender: Male
Posts: 50


« Reply #43 on: September 15, 2008, 03:07:15 am »

thanks nibbler, now i can download the pics.

in addition to that there is the next problem.

no email will be send and there is no entry for the pics in the download history. :-/

whats up with this mod.
can you explain whats wrong with it?
was the developer uploading a file with bugs, or has cpg to much modifications that here and there are some updates nessesary?

it would be great if i can get some more help to keep this mod runnin.
Logged

_____________________________________
|-->  J1.5.6 + CPG1.4.19 + Bridge  <--|
liquid-motion
Coppermine newbie

Gender: Male
Netherlands Netherlands

Posts: 3


WWW
« Reply #44 on: August 19, 2009, 10:22:15 am »

no email will be send and there is no entry for the pics in the download history. :-/

I'm running into a similair problem. The email is sent, but without the emailaddress of the downloader.
Furthermore there is no entry in the logfile/download history, except for the images downloaded by an admin.

What can be causing this problem?
Logged
Joachim Müller
Administrator
*****
Gender: Male
Germany Germany

Posts: 45051


aka "GauGau"


WWW
« Reply #45 on: August 19, 2009, 10:49:17 am »

No "Powered by Coppermine"-tag on your gallery -> no support for you! The e107 port goes unsupported anyway. Restore the tag or stop using our app.
Logged
k4nt0r
Coppermine newbie

United States United States

Posts: 1


« Reply #46 on: September 01, 2009, 11:51:44 pm »

Hi. I'm new to this board and to Coppermine Gallery. I was playing around with Coppermine to see what it can do besides adding a photo/video galleries. One thing I like about it is that you can install plugins like this one, Fullsize Access, where unregistered users are limited for Fullsize download.

Now here's my problem...
I think I may had successfully installed Coppermine and the Fullsize Access plugin. After reading all the posts from this thread and followed all instructions (I think?), the plugin seem to function alright. It doesn't give me errors when "Download Original File" or "Secure File" is clicked. There is one problem, I am able download and save the file/image, however, I am unable to view it on my computer. I tried different programs to open it but only Photoshop seemed to work. I used mainly Preview (Mac) for viewing image files. If I try to open it using Preview, a pop-up message will say "Couldn’t open the file. It may be corrupt or a file format that Preview doesn’t recognize." When I download the image using a FTP client, I can successfully see it using Preview, only this Plugin seems to be the problem. I need help in successfully installing it.

I know very little of PHP so here's what I have so far...

Original fullsize_secure.php
Code:
<?php

// this file must be edited before use!



////////////////////// section to edit

// edit ftp user/host data here:


// edit ftp user/host data here:
//$ftp_server = "ftp.myhost.de";
//$ftp_user_name = "me";
//$ftp_user_pass = "hello";


require_once('c:/webserver/files/inc/schwarzburgland.init.php');
$ftp_server $SLCONFIG['ftp_server'];
$ftp_user_name $SLCONFIG['ftp_user_name'];
$ftp_user_pass $SLCONFIG['ftp_user_pass'];
$ftppath_to_cpg "html/images2/";


/*
require_once('/home/www/web294/files/inc/schwarzburgland.init.php');
//require_once('c:/webserver/files/inc/schwarzburgland.init.php');
$ftp_server = $SLCONFIG['ftp_server'];
$ftp_user_name = $SLCONFIG['ftp_user_name'];
$ftp_user_pass = $SLCONFIG['ftp_user_pass'];
$ftppath_to_cpg = "html/images2/";
*/

// this is the path to your cpg dir starting from your home page root (what the ftp sees by default) :






////////////////////// end section to edit

Edited fullsize_secure.php
Code:
<?php

// this file must be edited before use!



////////////////////// section to edit

// edit ftp user/host data here:


// edit ftp user/host data here:
//$ftp_server = "ftp.myhost.de";
//$ftp_user_name = "me";
//$ftp_user_pass = "hello";


//require_once('home/flappitty/public_html/iphoto.mooo.com/include/init.inc.php');
$ftp_server 'ftp.iphoto.mooo.com';
$ftp_user_name 'flappitty';
$ftp_user_pass 'mypassword';
$ftppath_to_cpg "iphoto.mooo.com/";


/*
require_once('/home/www/web294/files/inc/schwarzburgland.init.php');
//require_once('c:/webserver/files/inc/schwarzburgland.init.php');
$ftp_server = $SLCONFIG['ftp_server'];
$ftp_user_name = $SLCONFIG['ftp_user_name'];
$ftp_user_pass = $SLCONFIG['ftp_user_pass'];
$ftppath_to_cpg = "html/images2/";
*/

// this is the path to your cpg dir starting from your home page root (what the ftp sees by default) :






////////////////////// end section to edit

I also edited the jpgdownload.php like Nibller suggested but I replaced it back to the original version because it didn't work.

Please indicate what needs to corrected.
I want to successfully integrate both Coppermine and Fullsize Plug-in before I can run the whole website so please help.
I appreciate all help. Thank you.
Logged
Pages: 1 2 [3]   Go Up
  Send this topic  |  Print  
 
Jump to:  

Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
Page created in 0.044 seconds with 19 queries.