ContactSheet

121 views
Skip to first unread message

meetDare

unread,
Jun 1, 2012, 9:12:25 PM6/1/12
to ResourceSpace
Hi, when trying to preview the contact sheet I do not get any preview
but a weird squared icon.

If I try to generate the contact sheet I get this bomb:

\lib\tcpdf\tcpdf.php line 1906: Array to string conversion

I am on Chrome, and on RS 4.4.3193 on a Windows box
thanks.

meetDare

unread,
Jun 1, 2012, 9:18:19 PM6/1/12
to ResourceSpace
By the way, line 1906 says:

$this->file_id = md5($this->getRandomSeed('TCPDF'.$orientation.$unit.
$format.$encoding));

meetDare

unread,
Jun 5, 2012, 2:57:40 AM6/5/12
to ResourceSpace
Anyone has any idea?

meetDare

unread,
Jun 5, 2012, 5:23:39 PM6/5/12
to ResourceSpace
I have tried to comment that line and now the contact sheet is
previewed and generated properly.
But I do not know if that is stable or not.

thanks.

njenney

unread,
Jun 5, 2012, 6:21:42 PM6/5/12
to resour...@googlegroups.com
Do you have OK for all fields on Installation Check? Does this issue happen in all browsers? Have you tried updating to the latest from SVN? Contact Sheet is working OK for me and has been stable for some time.

meetDare

unread,
Jun 5, 2012, 8:25:05 PM6/5/12
to ResourceSpace
It is quite weird, as I have another installation in another server
with the same version and that is not happening.

Installation check is fine

I updated with the latest SVN file

It happens in Firefox, ie and chrome

My only workaround is remove comment that line.
What am i removing?




On 6 jun, 00:21, njenney <njen...@gmail.com> wrote:
> Do have OK for all fields on Installation Check? Does this issue happen

njenney

unread,
Jun 5, 2012, 10:26:37 PM6/5/12
to resour...@googlegroups.com
That is weird. I am not quite sure what that line is doing and if it is necessary. Tom or one of the other devs may know.

Tom Gleason

unread,
Jun 5, 2012, 11:14:00 PM6/5/12
to resour...@googlegroups.com
Not sure, but it looks like it could have to do with the page formats passed through. 
Have you modified the $papersize_select configuration at all?

--
You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
To post to this group, send email to resour...@googlegroups.com.
To unsubscribe from this group, send email to resourcespac...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/resourcespace?hl=en.




--
Tom Gleason
ResourceSpace Hosting & Development

Vice President, Engineering
Colorhythm LLC
http://www.colorhythm.com

Main Office:  +1 415-399-9921
Fax: +1 253-399-9928
Mobile:  +1 347-537-8465

tgle...@colorhythm.com

meetDare

unread,
Jun 6, 2012, 5:45:11 PM6/6/12
to ResourceSpace
This is what I have in the config:

# Ajax previews in contact sheet configuration.
$contact_sheet_previews=true;
# Ajax previews in contact sheet, preview image size in pixels.
$contact_sheet_preview_size="250x250";

Shall I remove it?
> Colorhythm LLChttp://www.colorhythm.com
>
> Main Office:  +1 415-399-9921
> Fax: +1 253-399-9928
> Mobile:  +1 347-537-8465
>
> tglea...@colorhythm.com

Tom Gleason

unread,
Jun 6, 2012, 6:03:09 PM6/6/12
to resour...@googlegroups.com
That shouldn't cause a problem. 
Try changing pages/ajax/contactsheet.php line 127:
$pdf = new MYPDF($orientation , 'in', $pagesize, true, 'UTF-8', false); 
to
$pdf = new MYPDF($orientation , 'in', $size, true, 'UTF-8', false); 

On Wed, Jun 6, 2012 at 5:45 PM, meetDare <ad...@meetdare.com> wrote:
This is what I have in the config:

# Ajax previews in contact sheet configuration.
$contact_sheet_previews=true;
# Ajax previews in contact sheet, preview image size in pixels.
$contact_sheet_preview_size="250x250";

Shall I remove it?


--
Tom Gleason
ResourceSpace Hosting & Development

Vice President, Engineering
Colorhythm LLC
http://www.colorhythm.com

Main Office:  +1 415-399-9921
Fax: +1 253-399-9928
Mobile:  +1 347-537-8465

meetDare

unread,
Jun 8, 2012, 6:00:39 PM6/8/12
to ResourceSpace
Tom. You are great! this is working now!!!!
Thank you very much indeed.

On 7 jun, 00:03, Tom Gleason <t...@buildadam.com> wrote:
> That shouldn't cause a problem.
> Try changing pages/ajax/contactsheet.php line 127:
> $pdf = new MYPDF($orientation , 'in', $pagesize, true, 'UTF-8', false);
> to
> $pdf = new MYPDF($orientation , 'in', $size, true, 'UTF-8', false);
>
> On Wed, Jun 6, 2012 at 5:45 PM, meetDare <ad...@meetdare.com> wrote:
> > This is what I have in the config:
>
> > # Ajax previews in contact sheet configuration.
> > $contact_sheet_previews=true;
> > # Ajax previews in contact sheet, preview image size in pixels.
> > $contact_sheet_preview_size="250x250";
>
> > Shall I remove it?
>
> --
> Tom Gleason
> ResourceSpace Hosting & Development
>
> Vice President, Engineering
> Colorhythm LLChttp://www.colorhythm.com
>
> Main Office:  +1 415-399-9921
> Fax: +1 253-399-9928
> Mobile:  +1 347-537-8465
>
> tglea...@colorhythm.com

Tom Gleason

unread,
Jun 9, 2012, 3:02:03 AM6/9/12
to resour...@googlegroups.com
Odd that this is a problem for you, because it's supposed to accept an
array and does on everyone else's installation as far as I know. Well,
I made this change in revision 3426, because there is really no
difference between calling it "Letter" or "8.5","11"
> --
> You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
> To post to this group, send email to resour...@googlegroups.com.
> To unsubscribe from this group, send email to resourcespac...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/resourcespace?hl=en.
>



--
Tom Gleason
ResourceSpace Hosting & Development

Vice President, Engineering
Colorhythm LLC
http://www.colorhythm.com

Main Office:  +1 415-399-9921
Fax: +1 253-399-9928
Mobile:  +1 347-537-8465

tgle...@colorhythm.com
Reply all
Reply to author
Forward
0 new messages