pdf error
Moderator: Thorsten
pdf error
Hello
when I try to open an answer in acrobat reader as pdf I get the following error messages:
Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid is 32006 is not allowed to access /home/energiei/public_html/faq/pdf owned by uid 99 in /home/energiei/public_html/faq/inc/fpdf.php on line 1044
Warning: fopen(pdf/1.pdf): failed to open stream: No such file or directory in /home/energiei/public_html/faq/inc/fpdf.php on line 1044
FPDF error: Unable to create output file: pdf/1.pdf.
Does anybody know how to solve this problem?
Thank you in advance,
Kabbi
(cool FAQsystem by the way!!)
when I try to open an answer in acrobat reader as pdf I get the following error messages:
Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid is 32006 is not allowed to access /home/energiei/public_html/faq/pdf owned by uid 99 in /home/energiei/public_html/faq/inc/fpdf.php on line 1044
Warning: fopen(pdf/1.pdf): failed to open stream: No such file or directory in /home/energiei/public_html/faq/inc/fpdf.php on line 1044
FPDF error: Unable to create output file: pdf/1.pdf.
Does anybody know how to solve this problem?
Thank you in advance,
Kabbi
(cool FAQsystem by the way!!)
one more thing
one more thing; if I click on the link, HELP, I get back to the start page.......... Can someone tell me where I can fix this? And It does also not show how many users there are online....
Bye
Kabbi
Bye
Kabbi
Hi,
could you please show me your page?
bye
Thorsten
could you please show me your page?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hello,
it now shows how many users there are online
. But the pdf and help page isn't still working properly. And suddenly when I go to my page I get some different errors like: Warning: fopen(./data/tracking22052004): failed to open stream: Permission denied in /home/energiei/public_html/faq/inc/functions.php on line 393
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: fclose(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 400
Very strange,
You can look at my page here; http://www.energie-info.nl/faq/index.php
thank you
it now shows how many users there are online

Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: fclose(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 400
Very strange,

You can look at my page here; http://www.energie-info.nl/faq/index.php
thank you
pdf/help
Oke about the errors I got when I entered my page:
Warning: fopen(./data/tracking22052004): failed to open stream: Permission denied in /home/energiei/public_html/faq/inc/functions.php on line 393
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: fclose(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 400
I changed the permissions on faq/data with 0777 (this is good right?) and it is working again now!
Except the pdf and help page they are still not working properly.
http://www.energie-info.nl/faq/index.php .
Bye
Warning: fopen(./data/tracking22052004): failed to open stream: Permission denied in /home/energiei/public_html/faq/inc/functions.php on line 393
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 395
Warning: fclose(): supplied argument is not a valid stream resource in /home/energiei/public_html/faq/inc/functions.php on line 400
I changed the permissions on faq/data with 0777 (this is good right?) and it is working again now!

Except the pdf and help page they are still not working properly.
http://www.energie-info.nl/faq/index.php .
Bye

Hi,
please give the directory /pdf the permissions 0777, too.
A fix for the help page:
Open index.php and change line 105 to:
bye
Thorsten
please give the directory /pdf the permissions 0777, too.
A fix for the help page:
Open index.php and change line 105 to:
Code: Select all
$allowedVariables = array("add" => 1, "kontakt" => 1, "mailsend2friend" => 1, "save" => 1, "savevoting" => 1, "sendmail" => 1, "writecomment" => 1, "artikel" => 1, "hilfe" => 1, "savecomment" => 1, "search" => 1, "anzeigen" => 1, "xml" => 1, "ask" => 1, "open" => 1, "savequestion" => 1, "send2friend" => 1);
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
pdf, date
Thank you the help page is working properly now!
The pdf still isn't working, however I've another question. I want to display the news on a different site (on the main page of my site).
As you can see at http://www.energie-info.nl/home1.php the date isn't showing properly... do you know a way to fix this? (And perhaps how I can make the newslinks work?).
This is the code i use now:
<?php require_once('Cnnections/energieinf.php'); ?>
<?php require_once('Cnnections/energieinf.php'); ?>
<?php
$maxRows_nieuws = 4;
$pageNum_nieuws = 0;
if (isset($_GET['pageNum_nieuws'])) {
$pageNum_nieuws = $_GET['pageNum_nieuws'];
}
$startRow_nieuws = $pageNum_nieuws * $maxRows_nieuws;
mysql_select_db($database_energieinf, $energieinf);
$query_nieuws = "SELECT * FROM faqnews ORDER BY id DESC";
$query_limit_nieuws = sprintf("%s LIMIT %d, %d", $query_nieuws, $startRow_nieuws, $maxRows_nieuws);
$nieuws = mysql_query($query_limit_nieuws, $energieinf) or die(mysql_error());
$row_nieuws = mysql_fetch_assoc($nieuws);
if (isset($_GET['totalRows_nieuws'])) {
$totalRows_nieuws = $_GET['totalRows_nieuws'];
} else {
$all_nieuws = mysql_query($query_nieuws);
$totalRows_nieuws = mysql_num_rows($all_nieuws);
}
$totalPages_nieuws = ceil($totalRows_nieuws/$maxRows_nieuws)-1;
?>
and then further:
<?php do { ?>
<p><strong><?php echo $row_nieuws['header']; ?><br />
</strong><?php echo $row_nieuws['artikel']; ?><br />
<?php echo $row_nieuws['datum']; ?><br />
<a href="a.htm"><?php echo $row_nieuws['link']; ?></a> </p>
<?php } while ($row_nieuws = mysql_fetch_assoc($nieuws)); ?>
Bye,
kabbi
The pdf still isn't working, however I've another question. I want to display the news on a different site (on the main page of my site).
As you can see at http://www.energie-info.nl/home1.php the date isn't showing properly... do you know a way to fix this? (And perhaps how I can make the newslinks work?).
This is the code i use now:
<?php require_once('Cnnections/energieinf.php'); ?>
<?php require_once('Cnnections/energieinf.php'); ?>
<?php
$maxRows_nieuws = 4;
$pageNum_nieuws = 0;
if (isset($_GET['pageNum_nieuws'])) {
$pageNum_nieuws = $_GET['pageNum_nieuws'];
}
$startRow_nieuws = $pageNum_nieuws * $maxRows_nieuws;
mysql_select_db($database_energieinf, $energieinf);
$query_nieuws = "SELECT * FROM faqnews ORDER BY id DESC";
$query_limit_nieuws = sprintf("%s LIMIT %d, %d", $query_nieuws, $startRow_nieuws, $maxRows_nieuws);
$nieuws = mysql_query($query_limit_nieuws, $energieinf) or die(mysql_error());
$row_nieuws = mysql_fetch_assoc($nieuws);
if (isset($_GET['totalRows_nieuws'])) {
$totalRows_nieuws = $_GET['totalRows_nieuws'];
} else {
$all_nieuws = mysql_query($query_nieuws);
$totalRows_nieuws = mysql_num_rows($all_nieuws);
}
$totalPages_nieuws = ceil($totalRows_nieuws/$maxRows_nieuws)-1;
?>
and then further:
<?php do { ?>
<p><strong><?php echo $row_nieuws['header']; ?><br />
</strong><?php echo $row_nieuws['artikel']; ?><br />
<?php echo $row_nieuws['datum']; ?><br />
<a href="a.htm"><?php echo $row_nieuws['link']; ?></a> </p>
<?php } while ($row_nieuws = mysql_fetch_assoc($nieuws)); ?>
Bye,
kabbi
Look for the function makeDate() inside functions.php and include this function in your code.
I'll look for an solution for your PDF problem.
bye
Thorsten
I'll look for an solution for your PDF problem.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist