| Author |
Message |
|
|
|
I know how to chmod the files, I set up forums similar to this with alot of mods. That isn't the problem though.....
|
 |
|
|
Forget it.... I've fixed it...
The CHMOD's should be:
Files in Template-folder: 777
Template-folder: 777
Lib-folder: 777
Files in lib-folder: 777
This works!!!!
But it doesn't say anything in the Readme-file how theese folders should be CHMODed...
This is what it says about writing permissions:
3. Give write permissions to these directories:
- public - 777 (drwxrwxrwx) (directory)
- tmp - 777 (drwxrwxrwx) (directory)
|
 |
|
|
Uhm.... 666 is NOT the right writing permission.. When I set CHMOD on lib and template folders I got the following errors;
Warning: Failed opening '/home/petronas/www/hallgeir/guestbook/lib/mysql.class.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/petronas/www/hallgeir/guestbook/admin.php on line 4
Warning: Failed opening '/home/petronas/www/hallgeir/guestbook/lib/image.class.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/petronas/www/hallgeir/guestbook/admin.php on line 5
Warning: Failed opening '/home/petronas/www/hallgeir/guestbook/lib/template.class.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/petronas/www/hallgeir/guestbook/admin.php on line 6
Warning: Failed opening '/home/petronas/www/hallgeir/guestbook/lib/session.class.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/petronas/www/hallgeir/guestbook/admin.php on line 8
Warning: Failed opening '/home/petronas/www/hallgeir/guestbook/lib/admin.class.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/petronas/www/hallgeir/guestbook/admin.php on line 9
Fatal error: Cannot instantiate non-existent class: gb_session in /home/petronas/www/hallgeir/guestbook/admin.php on line 29
|
 |
|
|
I'm not even able to set the plain, simple or any other templates provided. It's just the Default template all teh time what am I doing wrong?
|
 |
|
|
Hello,
I'm just trying to implement Advanced PHP Poll with a flat file on a non-profit cinema's website. Everything works fine.
The Poll contains 30 movies to choose from. After a period of a few days there is a favourite movie - the "winner movie". This movie will be shown next at the cinema.
After voting for one of these 30 movies, the visitor is shown the results - 30 movies sorted by their ranking.
Now the Problem:
I want to implement an additional "Top Ten" ranking page during the voting period. This should do the same like the usual "show results" page, but limited to the first 10 entries.
Is this possible? Maybe by adding a parameter to the poll URL or by changing something in the source code? My idea is to break the repeat-loop, but only if there's a limiting parameter at the end of the calling URL ("poll.php?limit=10").
If Advanced PHP Poll isn't able to do this, does anybody have an idea which script could do this for us?
By the way: I'm one of these PHP beginners
Thanks a lot for help,
Alex
|
 |
|
|
Everytime I go to edit a template, and then click on save I get the following error:
Warning: fopen("/home/virtual/site114/fst/var/www/html/poll/pollphp/textfile/templates/simple/display_head.html", "w") - Permission denied in /home/virtual/site114/fst/var/www/html/poll/pollphp/textfile/admin/admin_templates.php on line 59
/home/virtual/site114/fst/var/www/html/poll/pollphp/textfile/templates/simple/display_head.html
Any ideas?
|
 |
|
|
Hi, I had this problem with the submit button when we tried to sign the guestbook. It was just reseting the form without sending the message. I have fixed that. Now the message is send and appears correctly. The problem is with the redirection after the "submit" button is clicked. It just loads a white, blank page. Can you tell me where the user should be redirected, and how to fix that.
Thanks in advance.
-Chimo.
|
 |
|
|
Installed Advanced Poll without problems, Whenever a poll is voted on blank.gif is *always* put into the results page. I dont get any bars shwoing up at all.
Any ideas??
Thanx
|
 |
|
|
Auron wrote:The first is that you hsvrn't set the permissions or the right ones, use your FTP program and chmod to whatever it needs to be the other two. Upload that file again or get a fresh copy of it from here and then upload that. -- Just in case it got corrupted or something.
Auron
and the right permissions would be...??
I've also got this problem on my website
|
 |
|
|
Hi,
I am having problem during the installation of the advancedpoll
I tried to change config.inc.php as follows:
$POLLDB["dbName"] = "AdvancedPoll";
$POLLDB["host"] = "localhost";
$POLLDB["user"] = "root";
$POLLDB["pass"] = "";
$POLLDB["class"] = "class_mysql.php";
yet, I received the following message:
MySQL Error : Database Error
Error Number: 1049 Unknown database 'AdvancedPoll'
Date : Wed, July 2, 2003 21:45:12
IP : 127.0.0.1
Browser : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Referer : http://localhost/advancedpoll/install.php?action=step_2
PHP Version : 4.3.0
OS : WINNT
Server : Apache/1.3.27 (Win32) PHP/4.3.0
can some one help me out, many thanks
S Yeh
|
 |
|
|
I want to display the latest poll with the comments below it, but I can't seem to figure out how to do it.
I have this:
$php_poll->set_template_set("simple");
if (isset($HTTP_GET_VARS['poll_id'])) {
echo $php_poll->poll_process($HTTP_GET_VARS['poll_id']);
} else {
echo $php_poll->poll_process("newest");
$latestpoll = $php_poll->poll_process("newest");
}
That displays the latest poll. But this below:
$php_poll->set_template("poll_comment");
$php_poll->set_comments_per_page(4);
$php_poll->set_date_format("d/m/Y H:i");
$php_poll->data_order_by("time","desc");
echo $php_poll->view_poll_comments(newest);
echo $php_poll->get_comment_pages(newest);
Doesn't work, I have to put a number in there instead of "newest" in order to make it work.
How can I get this to display the latest comments as well? Any ideas?
Thanks,
Mike
|
 |
|
|
I had the same problem and I removed the part that was said. But now after clicking the submit button it loads a blank white page. The message appears in the GuestBook and all but that blank page is damn annoying. I was wondering if you could help..
Thanks in advance.
-Chimo.
(GuestBook is located at http://www.dumbassprods.iwebland.com/guestbook/index.php )
|
 |
|
|
I had the same problem. Just look at the html code under "Templates" and change Header and Footer to your liking. For an example please see http://www.lelv30.net/guestbook/vieraskirja.php
|
 |
|
|
Sorry I thought I got you wrong - The logos and link were stored in the Body.php, so you need to change there.
hope that helps,
Sam
|
 |
|
|
I'm still relatively new to Advance guestbook so I'm not entirely sure it works for you, at least what I did work for me.
1. Download the header / footer php
2. Add your own html to it
3. Upload the php
Or you can change them directly on the server, just add html to the scripts.
|
 |
|
|