If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Messages posted by: Auron
Forum Index » Profile for Auron » Messages posted by Auron
Author Message
I've have managed to install it under MySQL. Those errors are from whatever you put in include/config.inc

In config.inc



You may need to enter the username and password your hosting service provided you with and you have to find or put in the host, in this example as I was running it on my PC it was just localhost. It may be different for you, ask your hosting provider about this if unsure. THe class bit is if your using MySQL or PgSQL in your case you can leave it as class_mysql.php

Auron
Or...

You need to go into the admin wosit and change the path's to the images and smilies folders. I had to do that with the Adv. Poll it puts in some default path's.

Auron
K, I'll be around here then for awhile.

Auron
There shouold already be a Chinese language file already with it called "chinesebig5.php"

If thats not right make a copy of the English one and rename it to chinese.php and convert all the words after the equals and between the quotes to Chinese.

Auron
Mainly because you've added the code for the poll twice. The code at the top should be the file poll_cookie.php NOT booth.php. booth.php is for the poll itself and the bit before sets and checks the cookie if you've enabled the option of only letting people only vote once, in other words stops any poll spamming.

Auron
I just tried it and got in just fine. I can only think that the username and password have to be all in lowercase the first time. Mind you after you can log in change your password before anyone else on these forums reads this post and gets into your Admin Panel of your Adv. Poll.

If that don't work re-upload everything to your server, you may want to re-download Adv. Poll to get a fresh copy just incase the one you downloaded got corrupted.

Auron
If you can't get any help here try ::

http://spisas.com/forums/index.php

Auron
make sure you don't have any white space before any php code at the very top of your page where you included the script.

Auron
read this thread ::

http://proxy2.de/forum/viewtopic.php?t=2067

Good Luck!
Auron
try deleting all the files for adv. poll and download it again. Whatever you do don't edit the files in notepad!!!

Try this thread for any info!

http://proxy2.de/forum/viewtopic.php?t=2067

Good Luck!
Auron
Yep, he's right PHP is very particular about syntax and white spaces. If there are any before it the script will not work. Its not a leanient as html is where you you can get away with odd mistake.

Auron
Try these sites ::

http://www.hotscripts.com/Detailed/17752.html
http://www.needscripts.com/Resource/1461.html
http://www.hotscripts.com/Detailed/13977.html

I'll do this once but thats just lazy. Look for them yourself! Trying typing in the address bar if you have IE -- "php download counter scripts"

Good Luck!
Auron
Where does it say edit any of those files in the readme!!!

It says ::

Installation:

1. Upload all php files in ASCII-mode to your server.
Give write permissions to the webserver on the configuration files.

polldata 777 (drwxrwxrwx) (directory)
- 1 666 (-rw-rw-rw)
- 2 666 (-rw-rw-rw)
- 3 666 (-rw-rw-rw)
- session.php 666 (-rw-rw-rw)

templates 777 (drwxrwxrwx) (directory)
| default 777 (drwxrwxrwx) (directory)
- comment.html 666 (-rw-rw-rw)
- display_foot.html 666 (-rw-rw-rw)
- display_head.html 666 (-rw-rw-rw)
- display_loop.html 666 (-rw-rw-rw)
- result_head.html 666 (-rw-rw-rw)
- result_foot.html 666 (-rw-rw-rw)
- result_loop.html 666 (-rw-rw-rw)
| graphic 777 (drwxrwxrwx) (directory)
- ...

include 755 (drwxr-xr-x) (directory)
- config.inc.php 666 (-rw-rw-rw)

2. Goto the admin page -> http://www.yourdomain.com/poll/admin/

Username: admin
Password: poll

and change the username and password.

That means upload files to web server then chmod then set permissions so people can view and excute them. The go to for example http://www.yourdomain.com/poll/admin/ It will then load up a page asking you to put in a username and password. Then use the default password and username and then edit the settings using the Admin Panel you just gained access to!!!

Good Luck!
Auron
Try the "Admin Panel" under go to "Genral Settings" under "Miscellaneous" find "Display Order" - the first one! Select "Do Not Sort"

Good Luck!
Auron
If you can't use PHP then why use a PHP script?

Auron
 
Forum Index » Profile for Auron » Messages posted by Auron
Go to:   
Based on the open source JForum