Hi, first of all thanks for taking the time to help.
I have a single spesific problem regarding the "amazing little poll", a free simple PHP poll wich I am sure many of you have allready seen or used before. I got it working perfectly before, but then i decided to use a system of files with "include" commands in order to skin my site through using different CSS's and images.
Basicly, for the two different skins, there are 2 directories:
/skins/classic/
/skins/beach/
they both contain files that use "include" commands to import all images + the CSS from the local folder, but import the actual page contents from the root folder. Thus creating a crude, but effective skinning system that allows me to change the looks without changing the contents.
(hey, dont laugh, it was thebest i could com up with =/ )
So, now the site is about done, but it seems that the poll system does not quite work right now that its not operating with all relevant files in the same folder, despite that i edited all the old file references i found in the code and settings files to reflect the new placements.
The problems spesificly are these:
b[/b] When setting a new poll, the lp_admin.php does not seem to change lplist.txt (wich contains the text and options used in the poll). Thus the poll does change like it should.
b[/b] Votes do not seem to register properly. The logfile (lp_log.dat) seems to be able to record the votes, but it still dosnt seem to work correctly. Dont know what may cause this, perhaps the votes are actually registered somewhere else. The results are supposed to be displayed after you vote, but they are not...
Im sure that the problem is obvious to someone who is a bit more experienced than me, so i ask for 5 minutes of your time.
You can view the site here (and see the problems)
www.capoeiranachuva.com/pollhelp/skins/classic/nyheter.php
And you can download all the files that are used at that location in a rar'ed file here (yes there are some redundant files included, just ignore the non-relevant ones):
[url]ftp://pollhelp:pollhelp@stigma.serveftp.com[/url] (roughly 1,5meg)
If needed, here is the site for the "amazing little poll" in case you want to take a look at the original files (allthough, i have ONLY changed file position paths)
http://www.evert.jervhost.com/LittlePoll/
The only files i can think would be relevant to look at would be the poll-files (they all start with "lp" in the filenames) and nyheter.php in the skins folders wich uses them.
finally, the poll worked fine when all relevant files were located in hte same folder, and I have not changed any of the poll code (apart from file location paths), so the poll code in itself should not be wrong. I dont expect you to dig through all of it :-?
Any help would be very greatly appreciated.
Sincerely
-Baard A. Aspevik
Stigma