New board error

kimikelku

  • Posts: 61
New board error
« on March 10th, 2014, 05:54 PM »
Ok i don't know if its working properly but, for instance, i have a board in category 1 with the name board1, now i created category 2 with a new board called board1, i save it and got an error saying that its already in use but the board is added anyway. :hmm:

Pandos

  • Living on the edge of Wedge
  • Posts: 635
Re: New board error
« Reply #1, on March 10th, 2014, 05:55 PM »
Can you please try it again with cache disabled?
# dpkg-reconfigure brain
error: brain is not installed or configured

kimikelku

  • Posts: 61
Re: New board error
« Reply #2, on March 10th, 2014, 06:01 PM »
Cache disable didn't get the error.

Pandos

  • Living on the edge of Wedge
  • Posts: 635
Re: New board error
« Reply #3, on March 10th, 2014, 06:55 PM »
Which level was the cache?

kimikelku

  • Posts: 61
Re: New board error
« Reply #4, on March 10th, 2014, 09:38 PM »
I don't know i ask a friend to do it, but now that i visit the site im getting this error

Type of error: Template
http://packagedroid.com/index.php?action=viewremote;filename=latest-news.js
Unable to find main block model --> not sure if its correct since its translated

Type of error: General
http://packagedroid.com/index.php?action=viewremote;filename=latest-news.js
2: call_user_func() expects parameter 1 to be a valid callback, function 'ViewRemote' not found or invalid function name
File: /var/www/index.php
Line: 244

And keeps giving this errors
Re: New board error
« Reply #5, on March 10th, 2014, 09:43 PM »
So made some tests and removing the news message and purging the cache gives this errors

CerealGuy

  • Posts: 343
Re: New board error
« Reply #6, on March 10th, 2014, 10:52 PM »
Try to create Category1 and Category2, click at "Add Board" set Order to Sub-Board of and the second select field to Category1. Full Name is Board1 and thats it. Works for me with latest commit, even if Board1 is used mulitple times as a sub board. But the mysterious thing is, that sometimes i get the Error "This address is already in use. Please go back and change it." but the Sub Board is added properly. Had the Issue multiple times, dont know why. 
EDIT: Didnt read your complete post :/ But all in all, bug exists for me too :D

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New board error
« Reply #7, on March 11th, 2014, 07:26 AM »
Okay, too much data here...

I'll keep it simple. If you're giving the same pretty URL to both boards, of course it's going to complain.
Maybe Wedge then decides to add a random number to the pretty URL to make it work and be unique. There's no bug here AFAIK.

CerealGuy

  • Posts: 343
Re: New board error
« Reply #8, on March 11th, 2014, 05:33 PM »
I dont have pretty urls activated, but still the error. I also dont think that its a problem with pretty Url is because it works correctly but throws an error, which can be ignored.

Farjo

  • "a valuable asset to the community"
  • Posts: 492
Re: New board error
« Reply #9, on March 11th, 2014, 08:15 PM »Last edited on June 6th, 2014, 03:04 PM
I can reproduce the original report on my local version. Create a new category, create another category, then create a new board under each with the same name - on creating the second new board you get the error "This address is already in use. Please go back and change it." However the boards have been set up and can be posted to. I have not received any further errors.

One thing perhaps of note is that the admin log shows all the steps except adding the second new board. Could the error message pertain to inserting into the admin log rather than adding the board itself?

Edit: no it couldn't! Recreated the error, restored, turned off admin logging; can still recreate error message.