PRINT 1.0.4 and CMSMS 1.7.1 PRINT PDF is not working

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
jazzbüro
Forum Members
Forum Members
Posts: 85
Joined: Sat Nov 28, 2009 10:15 pm

PRINT 1.0.4 and CMSMS 1.7.1 PRINT PDF is not working

Post by jazzbüro »

well, as all posts here in the forum dealing with the PDF-Printing do not deliver a solution to the problem and as this is a big problem for me before going public, I start a new thread here

We already discussed in the german forum but could not find a solution, so now here in the product support forum:

I cannot get PDF-Printing to print out the content of the page
I tried in two different installations and got that problem

- PDF is generated
- Header is printed out
- no real content in the PDF, just the title, so if the page is "News", "News" is printed below the header
- the PDF is 505 k big, what for sure is too much for a nearly empty page

1) It did not work in 1.6.5, it does not work in 1.7.1

2) I used the standard print-template :

Code: Select all

<h1>{$title}</h1>
{$content}
3) PDF-support is enabled, PDF-Header is defined:

Code: Select all

Der monatliche Konzertkalender des Jazzbüros Hamburg
Stylesheet-overwriting is not activated,  the standard-stylesheet is set to "All" (media)

4)

Code: Select all

{print text="Diese Seite als PDF speichern" pdf="true" showbutton="true"}
5)

Code: Select all

allow_url_include	On
register_globals	Off
6) I even bought the CMS-Made-Simple-16-Beginners-Guide-eBook, because I expected some indepth-information on PDF-printing there, without succes

7) I tested including the tag in the template as well as in a page. It always gets the same result = No content

8) as the generated PDF is too big to attacht it here, a link to an uploaded version: www.webdeerns.de/temp/News.pdf
 

which other information do you need?



----------------------------------------------

Cms Version: 1.7.1

Installed Modules:

   * CMSMailer: 2.0
   * FileManager: 1.0.2
   * MenuManager: 1.6.3
   * ModuleManager: 1.3.3
   * News: 2.10.5
   * nuSOAP: 1.0.1
   * Printing: 1.0.4
   * Search: 1.6.3
   * ThemeManager: 1.1.1
   * TinyMCE: 2.7.0
   * FCKeditorX: 1.1.0
   * Thumbnails: 0.1.1
   * Album: 0.9.3
   * CGSimpleSmarty: 1.4.5
   * DownloadManager: 1.4.1
   * CGExtensions: 1.19
   * LinkMgr: 1.5.1
   * SiteMapMadeSimple: 1.2.1
   * CGBlog: 1.4
   * Play: 1.0.3
   * SimpleFeedback: 0.2.1
   * FormBuilder: 0.6.2
   * TruetypeText: 2.1.1
   * Captcha: 0.4.1
   * CGGoogleMaps: 1.4.1
   * NMS: 2.3.2
   * DewPlayer: 0.2.1


Config Information:

   * php_memory_limit:
   * process_whole_template: true
   * max_upload_size: 2000000
   * default_upload_permission: 664
   * assume_mod_rewrite: true
   * page_extension: .html
   * internal_pretty_urls: false
   * use_hierarchy: true


Php Information:

   * phpversion: 5.2.6-1+lenny8
   * md5_function: An (Ja)
   * gd_version: 2
   * tempnam_function: An (Ja)
   * magic_quotes_runtime: Aus (Nein)
   * E_STRICT: 0
   * memory_limit: 1024M
   * max_execution_time: 300
   * safe_mode: Aus (Nein)
   * session_save_path: /var/lib/php5 (1733)
   * session_use_cookies: An (Ja)


Server Information:

   * Server Api: cgi-fcgi
   * Server Db Type: MySQL (mysql)
   * Server Db Version: 5.0.51a


----------------------------------------------
Last edited by jazzbüro on Mon Jun 28, 2010 8:07 am, edited 1 time in total.
jazzbüro
Forum Members
Forum Members
Posts: 85
Joined: Sat Nov 28, 2009 10:15 pm

Re: PRINT 1.0.4 and CMSMS 1.7.1 PRINT PDF is not working

Post by jazzbüro »

I am astonished that I get no answer at all here and no help.

So I run my own tests.

The result in general:

if you do a fresh install in a blank environement, Printing and PDF-Printing is working.

If you do an upgrade, the functionality is broken.
Attention:
I followed all steps for upgrading like described here:http://wiki.cmsmadesimple.org/index.php/User_Handbook/Installation/Upgrading

So, this is a bug. You can see two installations:
a fresh and new one at http://www.portachtzigachtzig.de

the updated version at http://www.webdeerns.de/klugemaedchen/index.php/tags-2/veroeffentlichte-tags/print-und-print-pdf, which was upgraded from 1.5.4 to 1.7.1

So please tell me what to do to get the functionality back!!!
vilkis

Re: PRINT 1.0.4 and CMSMS 1.7.1 PRINT PDF is not working

Post by vilkis »

Did you try uninstall and install Printing module after upgrade?
vilkis
jazzbüro
Forum Members
Forum Members
Posts: 85
Joined: Sat Nov 28, 2009 10:15 pm

Re: PRINT 1.0.4 and CMSMS 1.7.1 PRINT PDF is not working

Post by jazzbüro »

yes,

I did some times. At www.webdeerns.de/klugemaedchen, where I did the upgrade,

I ran this procedure:

- uninstall the module
- clear the general cache
- close CMSMS
- clear the browser cache
- delete the printing-module by FTP
- upload printing module
- login in CMSMS
- activate the plugin
- open the website
- clear the browser's cache again
- test the print-buttons

I did this procedure with
- the module from the full 1.7.1 version
- the module from the full 1.7  version
-the module from  1.6.6
- the module from 1.5.4

I got different results from the different versions as documented here in the german board: http://forum.cmsmadesimple.org/index.php/topic,45166.15.html
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm
Location: Saskatchewan - Canada

Re: PRINT 1.0.4 and CMSMS 1.7.1 PRINT PDF is not working

Post by Greg »

Greg
wdberatung
Forum Members
Forum Members
Posts: 31
Joined: Wed Jun 30, 2010 3:02 pm

Re: PRINT 1.0.4 and CMSMS 1.7.1 PRINT PDF is not working

Post by wdberatung »

Greg,

as I have the same problem I checked the URL which you sent as an answer above, but could not find a solution.

1) At my host, there was no upgrade by Diffs, the complete 1.7.1 was uploaded
2) at my host, allow_url_fopen = On

I asked jazzbüro (which is not allowed to post here anymore) by mail and got the answer that at that server, allow_url_fopen = On as well and, as described above, there was also a complete 1.7.1 copy-over-update

did I miss your message?
Post Reply

Return to “CMSMS Core”