Loading

Author Topic: print the item  (Read 2134 times)

bilekas

  • Full Member
  • ***
  • Posts: 210
  • Bilekas
    • Bilekas
Re: print the item
« Reply #75 on: January 28, 2012, 07:56:13 pm »
I could add that i could not upload this plugin via the admin, i had to uppload the files directly to pluginfolder via ftp... i think it is due to the size of the zip.
maybe it did not get fully uploaded for you bilekas?


Hi swede, this is an issue with the size of the file, its quite large for a plugin, i have resolved this by editing my php.ini file, the upload max and the timeout session increased. I have also checked all the files on the plugin folder of the server, everything is perfect on that side! Thanks though!

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 1922
Re: print the item
« Reply #76 on: January 30, 2012, 11:28:56 am »
Hi ferdgua,


No, files should not be deleted by themselves. Generating a PDF file is kind of resource eating (it took some time to process and create it). Due to that, we maintain the created file to serves as a "cache". So once it generate (on-demand) the PDF, it will be there until you remove the item or modify it (in that case we delete the PDF, so next time it will be created with the new modifications

ingo

  • Full Member
  • ***
  • Posts: 221
Re: print the item
« Reply #77 on: January 30, 2012, 05:56:18 pm »
Hi,

I've noticed in google search results for my page: 3 of 5 results are item pdf’s with phonnumber and email, that’s not so good.
I’m of oppinion that’s privat extension and it’s in user Items on my page. Can you fix it or block for google searchengine.

Like other members  alredy says I’m also for pdf redirect to new tab and telephone number instead of email

regards  :)

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 1922
Re: print the item
« Reply #78 on: January 30, 2012, 06:01:03 pm »
Hi

To remove email from pdf's just comment or delete line 67 of printpdf/template.php

To block google from accesing your files (directly) add a no-follow on the link that opens the pdf, and use robots.txt to block access to that directory/links

ingo

  • Full Member
  • ***
  • Posts: 221
Re: print the item
« Reply #79 on: January 30, 2012, 06:10:05 pm »
great,

 thanks a lot for quick reply

regards

ferdgua

  • Full Member
  • ***
  • Posts: 108
    • Skambio
Re: print the item
« Reply #80 on: January 30, 2012, 09:44:10 pm »
thanks _conejo for the "deleting " question,

SuperAtic

  • Full Member
  • ***
  • Posts: 175
    • SuperAtic.com
Re: print the item
« Reply #81 on: February 03, 2012, 09:05:29 pm »
Cool!

A temporary error!

 :D


« Last Edit: February 03, 2012, 09:14:23 pm by SuperAtic »

Gigo

  • Newbie
  • *
  • Posts: 2
    • Email
Re: print the item
« Reply #82 on: March 22, 2012, 11:46:10 am »
Im surprised that i think i am the only one who has problems with this plugin..

On line 62 on index.php

Code: [Select]
        echo '<a href="'.osc_base_url().'oc-content/plugins/'.osc_plugin_folder(__FILE__).'/download.php?item='.osc_item_id().'" class="printpdf_link" >'.__('Download PDF', 'printpdf').'</a>';

Should be :
Code: [Select]
        echo '<a href="'.osc_base_url().'oc-content/plugins/'.osc_plugin_folder(__FILE__).'download.php?item='.osc_item_id().'" class="printpdf_link" >'.__('Download PDF', 'printpdf').'</a>';

as to remove the double / before download..

I am ALSO havig a problem with the download..

 Just getting redirected to the homepage with the url indicating it is trying to download  :
/oc-content/plugins/printpdf/download.php?item=4

Permissions are correct, .htaccess is perfect and even tested while removing it. Hosting is fully open.. Im at a loss here to see any problem.. I have tried all versions of the plugin.. No joy..

I have a same problem. Did anybody resolve this problem?
Best regards

Cris

  • Jr. Member
  • **
  • Posts: 77
Re: print the item
« Reply #83 on: March 30, 2012, 06:04:27 pm »
Hi!

i have some errors...

Warning: getimagesize(http://trovoqui.altervista.org/site/oc-content/uploads/15.jpg) [function.getimagesize]: failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /membri/trovoqui/site/oc-content/plugins/printpdf/template.php on line 79

Warning: Division by zero in /membri/trovoqui/site/oc-content/plugins/printpdf/template.php on line 83

Warning: Division by zero in /membri/trovoqui/site/oc-content/plugins/printpdf/template.php on line 88

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /membri/trovoqui/site/oc-content/plugins/printpdf/tcpdf/tcpdf.php on line 7544
TCPDF ERROR: [Image] Unable to get image: http://trovoqui.altervista.org/site/oc-content/uploads/15.jpg

i've try to make a .htaccess file to disable safe_mode but the plugin still not work!!

maybe it depend by altervista?

can someone help me?