hi Clayton
i've switched back and forth between single and double quotes. hasn't made a bit of difference.

i think this is a folder permissions problem - basically several of my most recent recipes that haven't been working have all had subfolders... seems fishy...

but here are a couple things i'm noticing:
- the formatting of pmwiki2pdf.php appears severely messed up in my text editor... i went thru and replaced all hidden tabs and line- returns with the appropriate ones... that got me a little bit further... - i'm also wondering about the folders themselves, and their permissions - pmwiki doesn't seem to be liking going into deeper folders... i'm wondering if these files were encoded on another system, and there's some sort of hidden character encoding thing going on...
- i've also replaced the following:

// original header info in pmwiki2pdf.php
define("HOST", $_SERVER["HTTP_HOST"]);
define("URI", $_SERVER["REQUEST_URI"]);
define("MEM", ini_get('memory_limit') );
define("MAX_TIME", ini_get('max_execution_time') );
define("VERSION", "html2fpdf-3.0.2b");

//include(VERSION.'/html2fpdf4pmwiki.php'); // original -- include doesn't seem to like this include('/home/aoverton/public_html/pmwiki/cookbook/pmwiki2pdf/ html2fpdf-3.0.2b/html2fpdf4pmwiki.php');

this gets me further into the stack of folders pmwiki2pdf, but i still get permission denied at the directory 'html2fpdf-3.0.2b'

permissions for all of the folders are currently 755...

here's the error it now spits out:

Warning: main(/home/aoverton/public_html/pmwiki/cookbook/pmwiki2pdf/ html2fpdf-3.0.2b/html2fpdf4pmwiki.php) [function.main]: failed to open stream: Permission denied in /home/aoverton/public_html/pmwiki/ cookbook/pmwiki2pdf/pmwiki2pdf.php on line 24

Warning: main(/home/aoverton/public_html/pmwiki/cookbook/pmwiki2pdf/ html2fpdf-3.0.2b/html2fpdf4pmwiki.php) [function.main]: failed to open stream: Permission denied in /home/aoverton/public_html/pmwiki/ cookbook/pmwiki2pdf/pmwiki2pdf.php on line 24

Warning: main() [function.include]: Failed opening '/home/aoverton/ public_html/pmwiki/cookbook/pmwiki2pdf/html2fpdf-3.0.2b/ html2fpdf4pmwiki.php' for inclusion (include_path='./:../:/home/ aoverton/public_html/includes') in /home/aoverton/public_html/pmwiki/ cookbook/pmwiki2pdf/pmwiki2pdf.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /home/aoverton/public_html/pmwiki/cookbook/ pmwiki2pdf/pmwiki2pdf.php:24) in /home/aoverton/public_html/pmwiki/ pmwiki.php on line 1075



anyone - any ideas on what sort of permission issues i might be running into?
thanks
adam



On 23 Jun 2008, at 1:07 PM, Curtis, Clayton wrote:

Are all your other includes using double quotes?
Clayton Curtis MD PhD
VHA-IHS Interagency Liaison & Informatics
 VAMC (00)
 150 South Huntington Avenue
 Boston, MA 02130
 voice: 857-364-44786    mobile: 617-794-7151
 fax: 781-687-3470    email: [EMAIL PROTECTED]

From: [EMAIL PROTECTED] [mailto:pmwiki-users- [EMAIL PROTECTED] On Behalf Of adam overton
Sent: Wednesday, June 11, 2008 5:15 PM
To: pmwiki-users
Subject: [pmwiki-users] pmwiki2pdf not loading


hi
i'm trying to load the PmWiki2PDF recipe but i keep getting errors, as if pmwiki can't find the file.
in my cookbook have placed the pmwiki2pdf folder with everything in it
and done the normal inclusion: include_once("cookbook/pmwiki2pdf/ pmwiki2pdf.php");

yet when i go and load my site, i get the following errors:

Warning: main(cookbook/pmwiki2pdf/pmwiki2pdf.php) [function.main]: failed to open stream: No such file or directory in /home/aoverton/ public_html/pmwiki/local/config.php on line 752

Warning: main() [function.include]: Failed opening 'cookbook/ pmwiki2pdf/pmwiki2pdf.php' for inclusion (include_path='./:../:/ home/aoverton/public_html/includes') in /home/aoverton/public_html/ pmwiki/local/config.php on line 752

Warning: Cannot modify header information - headers already sent by (output started at /home/aoverton/public_html/pmwiki/local/ config.php:752) in /home/aoverton/public_html/pmwiki/pmwiki.php on line 1075


all of my other inclusions are working correctly. there's something funky about this one. anyone else having the same problem? any ideas what might be going wrong?
thanks,
adam



. . .

[EMAIL PROTECTED]
661 373 8679





_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to