Hi
I really would appreciat your assistence. I seem to have the exact same issue as described here.
http://gallery.menalto.com/node/97175
When the user clicks on "add" after entering his comment on the comment form, nothing changes on screen, so he doesn not know the comment has been accepted. The comment gets added immediately and does not get held for approval. Below is a section of the log file.
Thanking you in advance for any assistance you can give.
Dominic
2010-09-11 09:34:55 -07:00 --- error: Kohana_404_Exception [ 43 ]: The page you requested, form/add/comments/48, could not be found.
/usr/local/pem/vhosts/130646/webspace/httpdocs/gallery3/system/libraries/Kohana_404_Exception.php [ 42 ]
#0 [internal function]: Kohana_404_Exception_Core::trigger(NULL)
#1 /usr/local/pem/vhosts/130646/webspace/httpdocs/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#2 /usr/local/pem/vhosts/130646/webspace/httpdocs/gallery3/system/libraries/Router.php(165): Event_Core::run('system.404')
#3 [internal function]: Router_Core::setup(NULL)
#4 /usr/local/pem/vhosts/130646/webspace/httpdocs/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#5 /usr/local/pem/vhosts/130646/webspace/httpdocs/gallery3/application/Bootstrap.php(61): Event_Core::run('system.routing')
#6 /usr/local/pem/vhosts/130646/webspace/httpdocs/gallery3/index.php(94): require('/usr/local/pem/...')
#7 {main}
2010-09-11 09:36:41 -07:00 --- error: Kohana_404_Exception [ 43 ]: The page you requested, form/add/comments/76, could not be found.
/usr/local/pem/vhosts/130646/webspace/httpdocs/gallery3/system/libraries/Kohana_404_Exception.php [ 42 ]
#0 [internal function]: Kohana_404_Exception_Core::trigger(NULL)
#1 /usr/local/pem/vhosts/130646/webspace/httpdocs/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#2 /usr/local/pem/vhosts/130646/webspace/httpdocs/gallery3/system/libraries/Router.php(165): Event_Core::run('system.404')
#3 [internal function]: Router_Core::setup(NULL)
#4 /usr/local/pem/vhosts/130646/webspace/httpdocs/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#5 /usr/local/pem/vhosts/130646/webspace/httpdocs/gallery3/application/Bootstrap.php(61): Event_Core::run('system.routing')
#6 /usr/local/pem/vhosts/130646/webspace/httpdocs/gallery3/index.php(94): require('/usr/local/pem/...')
#7 {main}
Posts: 25957
What is the URL to your gallery? Make sure you are running the most recent "experimental version'
http://codex.gallery2.org/Gallery3:Upgrading
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 3
Thanks Dave,
- I have downloaded the latest experimental code. (gallery-gallery3-3.0-rc-2-307-g34a71e7.zip)
- copied it over the existing files and ran the upgrade routine and got the message "Thats it - your gallery uprade is complete"
- there is only a slight differece. when you go to leave a comment it highlighs the Email address field saying you must enter a valid address.
- if you enter an address, the screen stays the same i.e. no indication - but it does add the comment
- if you complete all the fields first time - it works correctly. BUT I would expect not everyone would want to leave their email address OR at least they wouldn't add it until prompted.
Other relevant info
- I'm using greywind an the options still show it needs an upgrade. "Check Failed. Minimum Required Version 30"
- the URL is http://www.msreflections.com/gallerya/
Again Thanks for the help in advance.
dominic
Posts: 25957
What if you using the wind theme do you still get the same behavior? I can't reproduce this issue.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7985
It sounds like you didn't do the upgrade quite right. When you have it right, the gallery module will be at version 38.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git
Posts: 3
You were right Dave, the upgrade hadn't gone right for some reason. It has now & is reporting that it is upgraded to V38 - unfortunately I still have "Comment" problems.
In answer to your question, changing back to the default theme (WIND) does not fix the issue. I am surprise you didn't see it. Please follow this......
Go to http://www.msreflections.com/gallerya
- Open the single picture.
- Click "add a commet"
- enter something in the NAME field and the COMMENT field only. leave EMAIL Blank.
- Click on ADD.
What happens is....
- EMail box goes Red and says "you must enter a valid email address"
- when you enter the address & click ADD nothing happens (no screen change, the comment gets added, but the user does not know unless he refreshes the page)
This is the problem!so any further checks I can do?
Also, if first time around you enter the email address, the screen changes & comment is captured but it does not stop & wait for Admin approval. The comment is immediately live.
Is there a setting to stop comments for Admin approval?
Is there a way to avoid having to enter the email ID? (this may circumvent the issue)
Thanks
Dominic
-
Posts: 25957
since you only have one item. Please start over ( there might be some corrupt files) and leave it with the default theme so we can see the behavior. I can't reproduce it on my test install.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 6
Ok, thats the problem, if you write down web adress without "http://www." it doesnt work... Its confusing at first time. If the field is empty, no problem...
I hope that will be fixed later... Greetings!
Posts: 25957
Alex-dan,
your post is confusing as well. Roughdiamond said stuff about the email missing and then you say web address.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 6
www.alexdanev.com, check it out... only works with full web address, if i try with alex-dan.deviantart.com - nothing happens... Actually works only with "http://"
Posts: 16503
what the heck are you talking about? Are you talking about posting links in these forums? If so, that's not what this thread is about. This thread is about the Comment module for Gallery3
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 6
Ohhhh... I cant post any comment when there is no "http://" in the "Web Adress" field... And it's confusing because nothings happen when press "Add". There is no warning message like "Invalid email address" at field above...
Posts: 7985
This is a bug. I've filed this ticket for it: https://sourceforge.net/apps/trac/gallery/ticket/1383
I'll fix it for the 3.0 release -- thanks Alex-dan!
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git
Posts: 25957
Man I am glad bharat can understand.
Alex-dan, in the future if you can give steps precisely as possible it will make every-bodies live easier.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 18
>>Is there a setting to stop comments for Admin approval?
I also don't find a option for that, which is useful.
The workaround I found is to change the default behavior of new comments in file:
./modules/comment/models/comment.php
Change the line in the function save() from:
if (empty($this->state)) {
$this->state = "published";
}
TO:
if (empty($this->state)) {
$this->state = "spam";
}