4images Forum & Community
4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: vwman on April 16, 2002, 07:32:46 PM
-
first thing, I love this script!. okay I got it installed on windows 2000 w/ iis 5 php 4.x and mysql for windows. so far it runs pretty darn good. I have been able to upload some pics, and am getting things setup. the first problem is the comments don't work, once I click post I go back to the main menu and the comment is not posted. I have no idea where to begin to look for this problem. also the search does not work very well. it works fine for key words, but if I search the descriptions it will not work. any ideas? any tips for makeing sure this program will work for a long time on win2k? I will have 1k+ pics and my site get 20k visits a month, so I assume there will be some activity. Thanks for your time!
Dan
-
Hi,
check if in your comment_form.html this line is correct:
<form method="post" action="{self}">
{self} is important!
If you have this and it doesn't work, try to add this line below this
<input type="hidden" name="image_id" value="{image_id}">
I guess you also have to do this for rate_form.html
Jan
-
okay I added
<input type="hidden" name="image_id" value="{image_id}">
below
<form name="commentform" action="{self}" method="post" onsubmit="postbutton.disabled=true;">
and it worked!
thanks!
Dan
-
Ok, sorry. I posted the wrong code.
Add under this line:
<input type="hidden" name="image_id" value="{image_id}">
Jan
P.S.: Please enable BBCode in your posting if you use BBCode-Tags.
-
I noticed that you have the same problem with the rating. Add the line i posted above also to rate_form.html.
I tried to register at your gallery, but i got no email. You have to check this.
Jan
-
okay fixed the email problem, it should work now. and I think the rateing is fixed thanks again
Dan
-
okay the vote does not work anymore here are the lines...
<input type="hidden" name="action" value="rateimage" />
<input type="hidden" name="image_id" value="{image_id}">
<input type="submit" value="Vote" class="button" name="submit" />
any ideas?
-
Hi,
add this:
<input type="hidden" name="id" value="{image_id}">
Looks a little bit strange because you have "image_id" and "id" but you need one for showing the image and one for saving the rating.
Greets Jan
-
where do you want that? edit one of the lines or add that full line? how should the 4 lines work? is this a problem with iis 5? thanks
Dan
-
You have to add this line above your three lines you posted above.
It should look:
<input type="hidden" name="id" value="{image_id}">
<input type="hidden" name="action" value="rateimage" />
<input type="hidden" name="image_id" value="{image_id}">
<input type="submit" value="Vote" class="button" name="submit" />
I don't know whats wrong. It could help if you make a phpinfo() file and post the link.
Thanks
Jan