https://www.icyphoenix.com/viewtopic.php?f=29&t=5853
-----------------------------------
tormentor
Sun 17 May, 2009 14:44

Screenshot Not Generated (RC2/SVN)
-----------------------------------
In the downloads screenshots are not generated, it's not a matter of permissions. Screenshot URL works.


-----------------------------------
Mighty Gorgon
Sat 23 May, 2009 12:37

Re: Screenshot Not Generated (RC2/SVN)
-----------------------------------
I've tested on my sites and are working fine...

What do you mean by "Not Generated"?


-----------------------------------
tormentor
Wed 27 May, 2009 22:40

Re: Screenshot Not Generated (RC2/SVN)
-----------------------------------
If it is working on your place and not on mine I don't know what to say.

I'm working on a freshly installed RC2.

In ACP/Download the screenshoot folder is set at files/screenshots
that folder has 777 permission (the parent folder also, obviously)

When I upload a file in the download section, In "Upload Screenshot" I select an image (a jpg) from my PC.
in "Screen Shot as Link" yes or no doesn't make any difference. 

The screenshot does not appear (is not generated) in the file page. I've to add it manually using the "Screenshot URL" box, doing this, I've to manually upload the screenshot using FTP.

I'll try here with a test file. i don't even know if it's something on the server side, because all the rest (album, bbcodes etc.) related to pictures are working perfectly...

P.S. can't test here, there is not a test category... I should check the pafile mod itself but I think the author disappeared long ago...


-----------------------------------
Mighty Gorgon
Sun 31 May, 2009 19:50

Re: Screenshot Not Generated (RC2/SVN)
-----------------------------------
Make this test for me please.

OPEN [b]includes/pafiledb/functions.php[/b]
FIND
[codeblock]		return $file_info;[/codeblock]
REPLACE WITH
[codeblock]		print_r($file_info);
		die('<br /><br />DEBUG');
		return $file_info;[/codeblock]

Then try to upload the screenshot... after you post here the result, we will go to the next step.


-----------------------------------
tormentor
Tue 02 Jun, 2009 14:10

Re: Screenshot Not Generated (RC2/SVN)
-----------------------------------
Array ( [error] =>  => http://www.posetteforever.com/ip//downloads/1644349c6fa357fd7db8f94816b5bb39.zip )

DEBUG


the file has not been uploaded with the code change. It looks like something with that double slash... 

the upload directory is set to

downloads/

(default)

in the ACP

I'll look in the database...


-----------------------------------
tormentor
Fri 26 Jun, 2009 14:06

Re: Screenshot Not Generated (RC2/SVN)
-----------------------------------
>BUMP!<


