Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Acmlmboard support?. |
Acmlm's Board - I2 Archive - Acmlmboard support? - First problem arises... | | | |
Pages: 1 2 | Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
Sandy53215 Acmlm (10:55:31 PM): they're having fun for the first time in so long Level: 47 Posts: 418/948 EXP: 713034 For next: 53169 Since: 03-15-04 From: Milwaukee, Wisconsin (U.S.A) Since last post: 1 day Last activity: 4 hours |
| ||
Well I was installing the board and I dont know what is going wrong with this I messed with the file and everything... Warning: main(/home/randy53215/public_html/board/index.php/lib/dbinfo.php): failed to open stream: Not a directory in /home/randy53215/public_html/board/lib/config.php on line 10 Fatal error: main(): Failed opening required '/home/randy53215/public_html/board/index.php/lib/dbinfo.php' (include_path='.:/etc/php/includes:/usr/share/pear/:./includes') in /home/randy53215/public_html/board/lib/config.php on line 10 Is the error. Meaning it failed to open dbinfo.php. It exists its all right. So what could this possibly be? NVM fixed... Close please? (edited by Randy53215 on 04-05-05 09:46 AM) |
|||
Jesper Busy, busy, busy. Level: 69 Posts: 2315/2390 EXP: 2856000 For next: 13743 Since: 03-15-04 From: Sweden. Since last post: 176 days Last activity: 79 days |
| ||
In config.php, change: $root = str_replace($n,"",$_SERVER["PATH_TRANSLATED"]); $root = preg_replace("'/(lib|admin)/?$'i","",$root); to $root = str_replace($n,"",$_SERVER["PATH_TRANSLATED"]); $root = preg_replace("'/([^/]+?)$'i","",$root); $root = preg_replace("'/(lib|admin)/?$'i","",$root); Or just set $root to the absolute *local path* of your board folder (not the URL, but the path in the file system on the server). That code is to try to define that variable for you. We need that since the main files are spread out over multiple folders now. This is fixed in the dist, effective immediately. |
|||
Sandy53215 Acmlm (10:55:31 PM): they're having fun for the first time in so long Level: 47 Posts: 419/948 EXP: 713034 For next: 53169 Since: 03-15-04 From: Milwaukee, Wisconsin (U.S.A) Since last post: 1 day Last activity: 4 hours |
| ||
That could work or you could just do... require dirname($root).'/lib/filename.php'; Wherever the problem occurs. |
|||
Jesper Busy, busy, busy. Level: 69 Posts: 2318/2390 EXP: 2856000 For next: 13743 Since: 03-15-04 From: Sweden. Since last post: 176 days Last activity: 79 days |
| ||
I actually forgot about dirname, but we need to chop off /lib and /admin in some places too. And it'd be a lot handier to just do $root = dirname($root); in config.php in that case, right? | |||
Sandy53215 Acmlm (10:55:31 PM): they're having fun for the first time in so long Level: 47 Posts: 420/948 EXP: 713034 For next: 53169 Since: 03-15-04 From: Milwaukee, Wisconsin (U.S.A) Since last post: 1 day Last activity: 4 hours |
| ||
Ehhh Edituser doesnt work properly either. Edit: Also the table for the link outside menu and inside is missing. 2nd Edit: This edituser shit is annoying. (edited by Randy53215 on 04-05-05 10:24 AM) (edited by Randy53215 on 04-05-05 10:39 AM) |
|||
Jesper Busy, busy, busy. Level: 69 Posts: 2321/2390 EXP: 2856000 For next: 13743 Since: 03-15-04 From: Sweden. Since last post: 176 days Last activity: 79 days |
| ||
Originally posted by Randy53215Very specific. I don't have the code in front of me right now. If you think it could be exploited and don't want to tell in public, just PM it. |
|||
DarkSlaya POOOOOOOOOOOORN! Level: 88 Posts: 3582/4249 EXP: 6409254 For next: 241410 Since: 05-16-04 From: Montreal, Quebec, Canada Since last post: 8 hours Last activity: 5 hours |
| ||
In Edit User, the form "<FORM ACTION=/admin/edituser.php NAME=REPLIER METHOD=POST>" should be "<FORM ACTION=admin/edituser.php NAME=REPLIER METHOD=POST>", else it's a problem if it's not in the root directory... (edited by DarkSlaya on 04-05-05 10:54 AM) (edited by DarkSlaya on 04-05-05 10:55 AM) (edited by DarkSlaya on 04-05-05 10:55 AM) |
|||
Jesper Busy, busy, busy. Level: 69 Posts: 2322/2390 EXP: 2856000 For next: 13743 Since: 03-15-04 From: Sweden. Since last post: 176 days Last activity: 79 days |
| ||
Good catch. I'll fix that tomorrow. | |||
DarkSlaya POOOOOOOOOOOORN! Level: 88 Posts: 3583/4249 EXP: 6409254 For next: 241410 Since: 05-16-04 From: Montreal, Quebec, Canada Since last post: 8 hours Last activity: 5 hours |
| ||
Also, same problem with IP Search, and the IP searching from an user's profile has a similar problem (it's in the form "/admin/.../". | |||
Sandy53215 Acmlm (10:55:31 PM): they're having fun for the first time in so long Level: 47 Posts: 421/948 EXP: 713034 For next: 53169 Since: 03-15-04 From: Milwaukee, Wisconsin (U.S.A) Since last post: 1 day Last activity: 4 hours |
| ||
Its a widely scattered problem. | |||
Vyper Bit Level: 26 Posts: 58/256 EXP: 100094 For next: 2181 Since: 03-15-04 From: Final Fantasy Fire Since last post: 8 days Last activity: 7 days |
| ||
Problem with faq.php as well. It links back to the index page, not the faq.php, so none of the anchor points (bookmarks) on the page work correctly. | |||
Jesper Busy, busy, busy. Level: 69 Posts: 2325/2390 EXP: 2856000 For next: 13743 Since: 03-15-04 From: Sweden. Since last post: 176 days Last activity: 79 days |
| ||
This bug was partly mine, partly sucky configuration. We're using the "base" html element on each page to make sure all paths are relative. If you have a board at http://www.example.com/foo/, enter that precisely as your board url in the Configuration page, a link to bar.php will go to http://www.example.com/foo/bar.php. However, if you enter http://www.example.com/foo as your board url (notice the lack of trailing slash), the link will go to http://www.example.com/bar.php. The other downside is that links that are *just* fragments (#01) will go to http://www.example.com/foo/#01. Why are we suddenly using bases, by the way? Because the library functions reside in lib/ and a few admin functions in admin/. Changing either would need fixes in all board files and hacks tailor-made for this new way. (lib/ existed in 1.92 already, iirc.) We're damned if we do and damned if we don't in this case. This is fixed to the extent possible in the new version that's available, and the layout.php in the new version will also attempt to add a trailing / to the base as it prints it out. All in all, this is tough business, and if you can think of a better way, and have researched it in multiple browsers to make sure it leads to consistent resolving of these paths, contact me. (edited by Jesper on 04-06-05 07:49 AM) |
|||
Reno Level: 13 Posts: 33/48 EXP: 8122 For next: 2145 Since: 03-15-04 From: Ireland Since last post: 9 days Last activity: 9 days |
| ||
Jesper, if you're changing anything, you might want to change the example on the board config page, which doesn't show the final slash (something like www.anime.us/board). And apart from that, it's working really well. Thanks. |
|||
Sandy53215 Acmlm (10:55:31 PM): they're having fun for the first time in so long Level: 47 Posts: 423/948 EXP: 713034 For next: 53169 Since: 03-15-04 From: Milwaukee, Wisconsin (U.S.A) Since last post: 1 day Last activity: 4 hours |
| ||
Also I dont see managing forums in the dropdown list for Private messages. *God we are picky. I will try messing with it* |
|||
Reno Level: 13 Posts: 34/48 EXP: 8122 For next: 2145 Since: 03-15-04 From: Ireland Since last post: 9 days Last activity: 9 days |
| ||
The FAQ page's links actually point to simply to "#x", and not to faq.php#x, and similarly with the links to the top of the page. I modified to code so as to direct each time to faq.php#x. This needs to be replaced until the end of the question link list. Here's one I prepared earlier. Also, even when the base URL seems to work for everything else now for me, it doesn't seem to want to work in the redirection to profile.php on edituser.php. I think there's a small mistake in the syntax. I'll take a look. (edited by Reno on 04-06-05 07:38 AM) |
|||
Jesper Busy, busy, busy. Level: 69 Posts: 2331/2390 EXP: 2856000 For next: 13743 Since: 03-15-04 From: Sweden. Since last post: 176 days Last activity: 79 days |
| ||
I did change the links in faq.php. Basically, if you spot a redirection that doesn't work, make sure it doesn't start with a "/". /editprofile.php might not work, but editprofile.php will, etc. "Manage Folders" is only available if you actually have any PMs. File this under "bug / feature". |
|||
Reno Level: 13 Posts: 35/48 EXP: 8122 For next: 2145 Since: 03-15-04 From: Ireland Since last post: 9 days Last activity: 9 days |
| ||
Okay... What about the case in edituser, where its redirection is $bconf[baseurl]/profile.php etc.? EDIT: Also, I removed the slashes from editmods, but it now redirects me to baseurl/admin/admin/editmods.php. (edited by Reno on 04-06-05 07:55 AM) |
|||
DarkSlaya POOOOOOOOOOOORN! Level: 88 Posts: 3584/4249 EXP: 6409254 For next: 241410 Since: 05-16-04 From: Montreal, Quebec, Canada Since last post: 8 hours Last activity: 5 hours |
| ||
Yup, I was right (actually deleted my last post). 'oldstylemark' wasn't in the dump you gave with the board. Edit: Also, the redirect function will screw up if you're in the admin directory. (edited by DarkSlaya on 04-06-05 08:12 AM) |
|||
Jesper Busy, busy, busy. Level: 69 Posts: 2335/2390 EXP: 2856000 For next: 13743 Since: 03-15-04 From: Sweden. Since last post: 176 days Last activity: 79 days |
| ||
Originally posted by Renoprofile.php should be correct in this case. |
|||
ExKay Somebody set up us the bomb! Level: 50 Posts: 640/1114 EXP: 908268 For next: 39049 Since: 03-15-04 From: Hannover, Germany Since last post: 14 hours Last activity: 1 hour |
| ||
Editpoll.php is very well done. It doesn't remove the voting options. Please fix that too, Jesper. I also discovered some other bugs like the "Mark Forums Read" Option in editprofile.php. It won't be changed after you click on "Inside" or "Outisde". It will stay on the same position. You couldn't change your profile. Add this table into users to make it work. Field = oldstylemark Type = Smallint 2 Null = Not Null Default = 0 The status.php image doesn't work as mentioned in my thread. That's all I found. |
Pages: 1 2 | Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Acmlmboard support? - First problem arises... | | | |