Jump to content

CA3LE

Clients
  • Posts

    81
  • Joined

  • Last visited

 Content Type 

Profiles

Downloads

IPS4 Providers

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Forums

Store

Everything posted by CA3LE

  1. Sweet, posted this to the bug tracker and it's been marked fixed as of the next release, 4.1.3. Thanks IPS!
  2. Okay, guess I have to do it myself. Here's how to fix that for anyone searching. Unfortunately had to dig into the code. /public_html/ipb/applications/core/modules/front/system/login.php comment out line 209 (as of 4.1.2) //$redirectUrl = ( $referrer->isInternal and isset( $referrer->queryString['do'] ) and $referrer->queryString['do'] != 'validating' ) ? $referrer : \IPS\Http\Url::internal(''); Add the following line from version 4.0 $redirectUrl = ( !empty( $_SERVER['HTTP_REFERER'] ) ) ? \IPS\Http\Url::external( $_SERVER['HTTP_REFERER'] ) : \IPS\Http\Url::internal( '' ); I also didn't like the added query string... \IPS\Output::i()->redirect( \IPS\Login::getDestination()->setQueryString( '_fromLogin', 1 ) ); change to \IPS\Output::i()->redirect( \IPS\Login::getDestination() ); \IPS\Output::i()->redirect( $redirectUrl->setQueryString( '_fromLogout', 1 ) ); change to \IPS\Output::i()->redirect( $redirectUrl ); ... fixed. For some reason it always forwards to my board index without this modification to the code.
  3. I have a couple of posts that seem to be stuck. Even though they've been done they still show on the index. When I click it there's nothing to be done. I've already run "Something isn't working correctly" from adminCP and this persists.
  4. Anyone have a clue what I'm talking about? Are there any options for the way the sign out redirection works?
  5. Guess I'm not cool enough for that option. I've been using IPS since 2010 and I've never seen that. Maybe when they added the option they never added it on my account... and only newer accounts see that. I'll have to open a ticket about and ask.
  6. Fixed. I actually am having a beer right now too. Btw, 4.1.2 wasn't out when I posted this. It must have been release around the same time as my post. Thanks IPS! You rock.
  7. I think they're looking for more of an all around rewrite rule that's wildcard for all posts and topics. RewriteRule ^topic.([0-9]+).html$ /topic/$1- [NC,R=302,QSA,L] RewriteRule ^forum([0-9]+).html$ /forum/$1- [NC,R=302,QSA,L] But those actually won't work... the problem is that since 4.0 it seems the topic and forum URLs will only resolve with the name appended. You used to be able to enter http://www.medprof.ru/topic/33193- and it would resolve to http://www.medprof.ru/topic/33193-болезни-сердца/ automatically... doesn't do that anymore. So you'll have to do something like this. RewriteRule ^topic.([0-9]+).html$ /index.php?app=forums&module=forums&controller=topic&id=$1 [NC,R=302,L] RewriteRule ^forum([0-9]+).html$ /index.php?app=forums&module=forums&controller=forums&id=$1 [NC,R=302,L] Instead of using the friendly URLs you point them to the query string format. I tested those URLs on your forum so I'd bet those rules will work for you.
  8. First, I want to be clear that I'm loving IPS 4.1. My site has a much better feel all around since moving up from 4.0. Overall, very impressive release. I really like the selective quoting and format removal option on paste. Very cool. Seems smoother and faster as well. I can't get custom links to save in the menu manager. The save button won't work. Activity streams and drop down menus save just fine. I've tested in Chrome, Firefox and Safari. Cleared cache, just in case. I've also seen it on multiple occasions create a bunch of menu items on it's own that I then have to delete. This screenshot is after deleting 3-4 already. In Chrome you can't arrange the menu items. I had to go over to Safari to do that. Arranged fine in Safari. So, the menu manager might as well not even be there. What a tease. You can only rearrange the icons or create activity streams that are already created. Can't wait to actually be able to use that to include my own custom items.
  9. Instead of redirecting to the page the sign out was initiated from it now goes to the board index. How can I get back to the previous behavior. For specific application needs, I need it to forward back to the page the user clicked "sign out" on. Sign in redirection works great. Forwards right back to my application like I need it to but since the upgrade from 4.0 to 4.1.1 sign out goes to the back to the index.
  10. Fixed it myself by resorting to a backup. Which was pre-4.1 so I then had to re-upgrade... There had been tons of activity since the backup so I THEN had to import topics, posts, members, PM's.. etc from the bad database. After this I was able to run "Something isn't working correctly." without issues and my forum is back online. One issue I encountered was in copying the 4.1 database immediately after the upgrade. phpmyadmin would copy almost everything, it was off a hundred or so records, out of 2,239,100 and would never finish the process. Looking at the processlist in mysql showed no more activity so I could tell it was done, it just never said done "copying database...". Each time I would copy the database it would result in a different number of missing results, sometimes off by much more. So I went with the copy that was missing the least amount of information. Copying the copied database resulted in a successful copy. Everything appears to be resolved. Hell of a ride.
  11. Thanks for the response Tracy, I've already tried using a default theme and have no plugins or add-ons. It was also working fine prior to executing "Something isn't working correctly." Here's an update to that ticket that explains further.
  12. Hey @Jim M any news on that similar issue yet? Still haven't seen any activity on my support ticket and I'm just getting worried this is going to go into tomorrow now... Definitely a critical problem, I have hundreds of thousands of pages down. Just to go over it again: No plug-ins or apps, default unmodified 4.1 theme... was working great after the upgrade until I ran "Something isn't working correctly." -- on the first step it mentioned that it cleared cached items. Before moving to the next step I checked the site and the error 500 was present. I feel like it must be something simple. Possibly something in the database that it's removed that's not being re-created properly.
  13. Thanks for the help. Hopefully they get it resolved soon for me.
  14. I think it's under Templates > forums > front > topics > postContainer Look in this code... <ul class='cAuthorPane_info ipsList_reset'> {{if $comment->author()->member_title && $comment->author()->member_id}} <li class='ipsResponsive_hidePhone'>{$comment->author()->member_title}</li> {{elseif $comment->author()->rank['title'] && $comment->author()->member_id}} <li class='ipsResponsive_hidePhone'>{$comment->author()->rank['title']}</li> {{endif}} {{if $comment->author()->rank['image'] && $comment->author()->member_id}} <li class='ipsResponsive_hidePhone'>{$comment->author()->rank['image']|raw}</li> {{endif}} <li class='cAuthorPane_photo'> {template="userPhoto" app="core" group="global" params="$comment->author(), 'large', $comment->warningRef()"} </li> <li>{expression="\IPS\Member\Group::load( $comment->author()->member_group_id )->formattedName" raw="true"}</li> {{if \IPS\Member\Group::load( $comment->author()->member_group_id )->g_icon }} <li class='ipsResponsive_hidePhone'><img src='{file="$comment->author()->group['g_icon']" extension="core_Theme"}' alt='' class='cAuthorGroupIcon'></li> {{endif}} {{if $comment->author()->member_id}} <li class='ipsResponsive_hidePhone'>{template="reputationBadge" group="global" app="core" params="$comment->author()"}</li> <li class='ipsType_light'>{lang="member_post_count" pluralize="$comment->author()->member_posts"}</li> {{if $comment->author()->reputationImage()}} <li class='ipsPad_half ipsResponsive_hidePhone'> <img src='{file="$comment->author()->reputationImage()" extension="core_Theme"}' title='{{if $comment->author()->reputation()}}{$comment->author()->reputation()}{{endif}}' alt=''> </li> {{endif}} {template="customFieldsDisplay" group="global" app="core" params="$comment->author()"} {{endif}} </ul> Then rearrange the <li>'s in the <ul> how you want them. I think you'd want it like this... <ul class='cAuthorPane_info ipsList_reset'> <li class='cAuthorPane_photo'> {template="userPhoto" app="core" group="global" params="$comment->author(), 'large', $comment->warningRef()"} </li> <li>{expression="\IPS\Member\Group::load( $comment->author()->member_group_id )->formattedName" raw="true"}</li> {{if \IPS\Member\Group::load( $comment->author()->member_group_id )->g_icon }} <li class='ipsResponsive_hidePhone'><img src='{file="$comment->author()->group['g_icon']" extension="core_Theme"}' alt='' class='cAuthorGroupIcon'></li> {{endif}} {{if $comment->author()->member_id}} <li class='ipsResponsive_hidePhone'>{template="reputationBadge" group="global" app="core" params="$comment->author()"}</li> {{if $comment->author()->member_title && $comment->author()->member_id}} <li class='ipsResponsive_hidePhone'>{$comment->author()->member_title}</li> {{elseif $comment->author()->rank['title'] && $comment->author()->member_id}} <li class='ipsResponsive_hidePhone'>{$comment->author()->rank['title']}</li> {{endif}} {{if $comment->author()->rank['image'] && $comment->author()->member_id}} <li class='ipsResponsive_hidePhone'>{$comment->author()->rank['image']|raw}</li> {{endif}} <li class='ipsType_light'>{lang="member_post_count" pluralize="$comment->author()->member_posts"}</li> {{if $comment->author()->reputationImage()}} <li class='ipsPad_half ipsResponsive_hidePhone'> <img src='{file="$comment->author()->reputationImage()" extension="core_Theme"}' title='{{if $comment->author()->reputation()}}{$comment->author()->reputation()}{{endif}}' alt=''> </li> {{endif}} {template="customFieldsDisplay" group="global" app="core" params="$comment->author()"} {{endif}} </ul>
  15. Didn't see any "in use" tables or anything odd, ran a repair on all tables with phpmyadmin anyways... same error 500.
  16. I'm certain now that you're right. ... but now my forum's down because I ran the "Something isn't working correctly." tool. Been waiting for 3 1/2 hours now for a response on my support ticket. -- opened a forum post around the same time >> https://community.invisionpower.com/topic/422042-error-500-after-running-something-isnt-working-correctly/
  17. @Jim M I did before posting this, I was just hoping that there might be an easy fix I was overlooking that someone here could point me to. Hopefully I get a response on the support ticket soon. I've run the "Something isn't working correctly." before 4.1 with no issues. Didn't think it was a risk, otherwise I would have made a quick backup right before. If there's a possibility of issues like this after running that tool, there should be a warning telling people to make a backup. I was under the impression that it was doing checks and safe actions, not something that would disable my forum.
  18. Here's from the system log, if this helps... Wed, 28 Oct 2015 18:03:33 +0000 (Severity: 2) 68.180.228.XXX - http://testmy.net/ipb/profile/13746-zzzzlm/ ErrorException 2: mb_substr() expects parameter 1 to be string, array given #0 [internal function]: IPS\IPS::errorHandler(2, 'mb_substr() exp...', '/home/publi...', 1196, Array) #1 /home/public_html/ipb/system/Http/Url.php(1196): mb_substr(Array, 0, 2) #2 /home/public_html/ipb/system/Http/Url.php(466): IPS\Http\_Url->utf8ParseUrl(Array) #3 /home/public_html/ipb/system/Http/Url.php(313): IPS\Http\_Url->setUrl(Array, false) #4 /home/public_html/ipb/system/Http/Url.php(225): IPS\Http\_Url->__construct(Array, false) #5 /home/public_html/ipb/applications/core/extensions/core/FrontNavigation/CustomItem.php(156): IPS\Http\_Url::external(Array) #6 /home/public_html/ipb/system/Theme/Theme.php(687) : eval()'d code(6298): IPS\core\extensions\core\FrontNavigation\_CustomItem->link() #7 /home/public_html/ipb/system/Theme/Theme.php(687) : eval()'d code(4613): IPS\Theme\class_core_front_global->mobileNavigation() #8 /home/public_html/ipb/system/Dispatcher/Dispatcher.php(149): IPS\Theme\class_core_front_global->globalTemplate('zzzzlm - TestMy...', '\n\n<!-- When alt...', Array) #9 /home/public_html/ipb/system/Dispatcher/Standard.php(101): IPS\_Dispatcher->finish() #10 /home/public_html/ipb/system/Dispatcher/Front.php(504): IPS\Dispatcher\_Standard->finish() #11 /home/public_html/ipb/system/Dispatcher/Dispatcher.php(131): IPS\Dispatcher\_Front->finish() #12 /home/public_html/ipb/index.php(13): IPS\_Dispatcher->run() #13 {main}
  19. By the way, the sign in and sign up still work. People can still sign in from the links provided on the front end of my site but all of the forums, profiles and streams are returning error 500.
  20. It's the default theme that is provided with IPS. I did "Add Theme" on the themes page and made a new one with no edits.
  21. Hi @Jim M, thanks for the quick response. I'm running it without plugins. I also created a new theme and reset everyone to that theme and same error 500.
  22. I just ran "Something isn't working correctly." from the adminCP (attempting to correct a cache issue) and now my forum is throwing error 500. Can anyone help? Besides that small issue everything was running perfect before I initiated that process.
×
×
  • Create New...