Author |
Message |
|
Hallihallo,
Finde euren Zähler super.. nur zeigt er bei mir die Referrer nicht an.. woran könnte dies liegen..
Mfg Slimz
|
 |
|
OK, i made it work. How do I implement the polls that i make on a web-page?
|
 |
|
When I open the pollphp.zip there is 2 sub-dirs under the pollphp dir. That is "DB" and "textfile" dirs. Do I have to upload both dirs? I have uploaded both dirs and I have CHMOD'ed all files that the readme file told me to do, but I get this message when i try to install it:
I did make it work one time, but know I don't remeber how I made it work. I have made changes to the config.inc.php file.
There is another file, config.php, where do this file go?
--Newbie PHP
|
 |
|
Obviously dont want to tell us
|
 |
|
Well i find it sad that no one can offer a suggestion or idea.
Here is what i have found so far:
BTW i am using the advanced poll, php version, on a linux server runnig free bsd, apache, php 4.2
the problem appears to be that the scripts cannot handle an outrageous amount of activity.
i had over 3500 votes in 48 hours
about then is when it would shut down the poll
i actually caught it in the middle of going tits up
i had about 20 items to vote on, and half of them dissapeared
steps i took when creating the next poll
changed the password (again)
set a timeout for votes (12 hours)
Closed the program not just the browser window
(there is no logout link or button) just an X like in windows
this seems to be the logout
set an expire day
results:
much fewer votes ( so obviously people were going nuts on the votes )
better real results
it seems stable after 48 or so hours
conclusion:
i don't know, i am new to php
is there a file locking issue with php like there is with cgi ?
if so, is there a way to fix it ?
does it just go tits up after 3500 votes ??
should i have set these settings like i have in the first place??
if so then a little text file on how to and why to setup would have been nice
|
 |
|
I had the same.
Open up config.inc.php and amend the database settings at the top:
/* database settings */
$GB_DB["dbName"] = "name of database";
$GB_DB["host"] = "localhost";
$GB_DB["user"] = "your user name";
$GB_DB["pass"] = "password";
(modify the red bits)
Save and upload
|
 |
|
Getting error when trying to install.php in MYSQL. Please help. Error is listed below :
Error
SQL-query :
<?php
include "./admin/config.inc.php"
MySQL said:
You have an error in your SQL syntax near '<?php
include "./admin/config.inc.php"' at line 1
|
 |
|
For english and german it may work with the following changes (guestbook 2.3.1 !!!):
(I show the previous 2 lines of code)
templates\success-php.htm (starts from line 1)
lib/vars.class.php (starts from line 35)
You can call the different languages through
http://xyz/guestbook/index.php?language=german
or
http://xyz/guestbook/index.php?language=german
My solution is not very nice as it seems that the guestbook does not autoconvert Umlauts to &xyz; neither stores it as unicode. So you will see some distortions if you switch to english encoding.
To the author(s) of Advanced Guestbook:
It would be really great if all languages could be shown properly! Are there any plans to implement this feature?[/b]
|
 |
|
Users can make comments. But this comments can be read from admin only!
Please help! How to show comments to users?
|
 |
|
I'll have to post my mod for individual page counting. I have to figure out how I did it though. I've been using the mod for over a year.
|
 |
|
How can I add screen resolution and screen depth to the stats?
I wish I knew - it'd be in there like a shot!
|
 |
|
Ok, I figured it out. To get full version numbers counted:
For Netscape 7:
Replace the above code for Netscape 7 with the following:
For Internet Explorer:
Replace the above code for IE with the following:
For Mozilla:
Replace the above code for Mozilla 5 with the following:
For previous releases of Netscape Navigator:
Replace the above code for Netscape Navigator with the following:
To add the Phoenix browser:
That should do it.
Next: How can I add screen resolution and screen depth to the stats? I got only as far as the log.pl being able to write the info into the logs. Stats.pl crashes when trying to read the logs. I added the two extra parameters into the stats.pl file. That's as far as it will go. Any ideas?
|
 |
|
You forgot to change the permissions on the public folder and the temp folder. You have to change it to 777. You can do this by using ws_ftp pro.
Make a ftp connection. On the remote site right (single)click the map or file. Theb right click and choose ftp commands->cmod
|
 |
|
I would beleive (haven't tried though), that you can edit the poll data in either your MySQL/SQL database (if using db version), or in /polldata/, where 1, 2, 3, etc. is the poll id's. If you want to change data for poll1, you right click the file named 1, and choose: send to->notepad(or some other txt prog (turn word wrap off!)).
Hope it helped,
Joachim
|
 |
|
anybody?
|
 |
|