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

Going by the error message you're missing the language table.

Use something like phpMyAdmin to check.
http://dev.mysql.com/doc/refman/5.0/en/error-messages-server.html#error_er_no_such_table

Looking at the install SQL it doesn't create a language table.

Taken from misc/tb_mysql.php.
The base URL can be set in the admin panel.

Try setting the base URL to "/var/www/vhosts/munci.org/siteprod/sondages/".

Then you just need to include booth.php like so...



Hopefully this will sort out the results/vote button problem.
Looks like your host may of restricted access to certain PHP functions.

Mainly chdir() and unlink().

Or this...

http://uk3.php.net/function.chdir wrote:Note: When safe mode is enabled, PHP checks whether the directory in which the script is operating has the same UID (owner) as the script that is being executed.


Although in most cases the UID is the same if it's in your area of access given by your web host.
The templates last time I looked could be edited in the admin panel.

If not you can edit them manually, they should be in a folder called templates.
The guide on my site explains them quite well, so long as the original author has kept
the templates setup and names the same / similar from when I wrote the guide you
should be fine.

Forgot to mention the templates IIRC are also stored in the database.
The files can be found @ ./admin/templates
As MeisterGigi said, probably a path issue looking at the code you posted.

Can you post the actual error message or provide a link to the page the poll is on?
If you've already voted when the cookie was set to 92 hours, it is most
likely still being read and used for the timeout before you can vote again.

You'd have to delete the specific cookie in question and then vote again,
to get the cookie with an expiry time of now + 2 hours.
Carbonize wrote:Been a while.


Indeed it has, just thought I'd pop back and see how the old place was. : )
Sounds like one of your tables is missing a column.

Have you recently updated the files and or database structure?
Carbonize wrote:Damn he still lives.


lol, what's that supposed to mean?
Reference this thread for some more info on stopping multiple votes.

http://proxy2.de/forum/viewtopic.php?p=5675#5675

If that doesn't cover it some of the threads linked to in this thread may help you instead.

http://proxy2.de/forum/viewtopic.php?t=5290
For future reference here is some more on stopping multiple votes.

http://proxy2.de/forum/viewtopic.php?p=5675#5675
Auron wrote:Normally you get that error by having whitespace at the beginning of the file before the opening <? or <?php and having code before session_start() IIRC.


IIRC = If I Remember Correctly.
Normally you get that error by having whitespace at the beginning of the file before the opening <? or <?php and having code before session_start() IIRC.
The web server will ONLY send files WITH A .PHP FILE EXTENSION to the PHP parser.
Files with .HTML are considered NOT TO CONTAIN ANY PHP code.

.htaccess can change this. But it is wasteful of resources -
sending all files to the PHP parser even if they don't need parsing.
No porblem
 
Forum Index » Profile for Auron » Messages posted by Auron
Go to:   
Based on the open source JForum