Advertisement:

Author Topic: WAMP Test site for 2.1 RC1  (Read 665 times)

Offline Randem

  • Jr. Member
  • **
  • Posts: 273
  • Gender: Male
    • Randem Systems
WAMP Test site for 2.1 RC1
« on: March 05, 2019, 08:25:46 PM »
Aloha,

I have setup the database and installed the SMF 2.1 RC1 Release software on WAMP and all went fine until I attempted to log onto the test site. The only message that I get is no matter how long I wait. Is this a side effect of the new system? It will not work in a local test environment. Are there special settings to get this to work with WAMP?

https://randemsystems.com/support/       -   Discusware to SMF Converter / BotBanish Support
https://blaxtonjames.com                         - Money, Knowledge And Power; Why You Are Missing All Three
https://joystickgangsta.com                      - An Experience You Can't Refuse
https://botbanish.com                                 - The Ultimate BOT Defender for SMF, OpenCart, WordPress  & Websites

Always ignore those who attempt to tell you what to think and believe those who will allow you think for yourself

Offline Randem

  • Jr. Member
  • **
  • Posts: 273
  • Gender: Male
    • Randem Systems
Re: WAMP Test site for 2.1 RC1
« Reply #1 on: March 05, 2019, 09:49:29 PM »
Using a work-around for the time being... Replaced the checksession() routine in Security.php with

Code: [Select]
function checkSession($type = 'post', $from_action = '', $is_fatal = true)
{
    return '';
}

The checksession() routine always fails in WAMP and gives the time-out message. I will check this issue later.
https://randemsystems.com/support/       -   Discusware to SMF Converter / BotBanish Support
https://blaxtonjames.com                         - Money, Knowledge And Power; Why You Are Missing All Three
https://joystickgangsta.com                      - An Experience You Can't Refuse
https://botbanish.com                                 - The Ultimate BOT Defender for SMF, OpenCart, WordPress  & Websites

Always ignore those who attempt to tell you what to think and believe those who will allow you think for yourself

Online shawnb61

  • Developer
  • SMF Hero
  • *
  • Posts: 1,522
    • sbulen on GitHub
Re: WAMP Test site for 2.1 RC1
« Reply #2 on: March 05, 2019, 10:01:53 PM »
I use a local WAMP for testing, with no such issues.  So there is a puzzle to be solved here.

I would try DB & non-DB sessions for starters.   Maybe try clearing cookies. 

Hope this helps,
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Offline Randem

  • Jr. Member
  • **
  • Posts: 273
  • Gender: Male
    • Randem Systems
Re: WAMP Test site for 2.1 RC1
« Reply #3 on: March 06, 2019, 12:20:27 AM »
I will run it thru the debugger to see why it fails. Also I get these errors in the SMF error log

Code: [Select]
Type of error: Undefined
8: Undefined index: http://localhost/smf/smf_2_1/index.php?action=signup
C:/wamp64/www/smf/smf_2_1/Sources/Subs.php (Line 3091)

==>3091:    return $smileyPregReplacements[$matches[1]];
https://randemsystems.com/support/       -   Discusware to SMF Converter / BotBanish Support
https://blaxtonjames.com                         - Money, Knowledge And Power; Why You Are Missing All Three
https://joystickgangsta.com                      - An Experience You Can't Refuse
https://botbanish.com                                 - The Ultimate BOT Defender for SMF, OpenCart, WordPress  & Websites

Always ignore those who attempt to tell you what to think and believe those who will allow you think for yourself

Offline albertlast

  • Development Contributor
  • Full Member
  • *
  • Posts: 589
Re: WAMP Test site for 2.1 RC1
« Reply #4 on: March 06, 2019, 12:28:11 AM »
Could you place debug stop ther and check the var:
$smileyPregSearch
$smileyPregReplacements

Offline Randem

  • Jr. Member
  • **
  • Posts: 273
  • Gender: Male
    • Randem Systems
Re: WAMP Test site for 2.1 RC1
« Reply #5 on: March 06, 2019, 12:53:55 AM »
Yes, I will get to that. I am encountering other issues. I get these messages in the php error log: This happens when starting SMF.

Code: [Select]
[06-Mar-2019 05:44:47 UTC] PHP Stack trace:

[06-Mar-2019 05:44:47 UTC] PHP   1. {main}() C:\wamp64\www\smf\smf_2_1\cron.php:0

[06-Mar-2019 05:44:47 UTC] PHP   2. reloadSettings() C:\wamp64\www\smf\smf_2_1\cron.php:87

[06-Mar-2019 05:44:47 UTC] PHP Warning:  reloadSettings(): Property access is not allowed yet in C:\wamp64\www\smf\smf_2_1\Sources\Load.php on line 77

[06-Mar-2019 05:44:47 UTC] PHP Stack trace:

[06-Mar-2019 05:44:47 UTC] PHP   1. {main}() C:\wamp64\www\smf\smf_2_1\cron.php:0

[06-Mar-2019 05:44:47 UTC] PHP   2. reloadSettings() C:\wamp64\www\smf\smf_2_1\cron.php:87

[06-Mar-2019 05:44:47 UTC] PHP Notice:  Use of undefined constant SMF_VERSION - assumed 'SMF_VERSION' in C:\wamp64\www\smf\smf_2_1\Sources\Load.php on line 86

The error does not happen every time thru but it is constant.
https://randemsystems.com/support/       -   Discusware to SMF Converter / BotBanish Support
https://blaxtonjames.com                         - Money, Knowledge And Power; Why You Are Missing All Three
https://joystickgangsta.com                      - An Experience You Can't Refuse
https://botbanish.com                                 - The Ultimate BOT Defender for SMF, OpenCart, WordPress  & Websites

Always ignore those who attempt to tell you what to think and believe those who will allow you think for yourself

Online shawnb61

  • Developer
  • SMF Hero
  • *
  • Posts: 1,522
    • sbulen on GitHub
Re: WAMP Test site for 2.1 RC1
« Reply #6 on: March 06, 2019, 01:36:53 AM »
I think you need to disable xdebug.

I get those messages when xdebug is active.  (Property access not allowed yet.)

There's a workaround for when xdebug is needed.
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,862
    • StoryBB/StoryBB on GitHub
Re: WAMP Test site for 2.1 RC1
« Reply #7 on: March 06, 2019, 02:33:47 AM »
The cron issues are a known RC1 bug and a mod was released to the mod site to fix that. Might be worth installing to see what it clears up.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Randem

  • Jr. Member
  • **
  • Posts: 273
  • Gender: Male
    • Randem Systems
Re: WAMP Test site for 2.1 RC1
« Reply #8 on: March 06, 2019, 02:43:05 AM »
Thanks, I will look for it. Any idea of what it was called?
https://randemsystems.com/support/       -   Discusware to SMF Converter / BotBanish Support
https://blaxtonjames.com                         - Money, Knowledge And Power; Why You Are Missing All Three
https://joystickgangsta.com                      - An Experience You Can't Refuse
https://botbanish.com                                 - The Ultimate BOT Defender for SMF, OpenCart, WordPress  & Websites

Always ignore those who attempt to tell you what to think and believe those who will allow you think for yourself

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,862
    • StoryBB/StoryBB on GitHub
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Randem

  • Jr. Member
  • **
  • Posts: 273
  • Gender: Male
    • Randem Systems
Re: WAMP Test site for 2.1 RC1
« Reply #10 on: March 06, 2019, 06:15:40 AM »
Thanks Arantor.

That MOD make a big difference and the timeout message is less frequent.
https://randemsystems.com/support/       -   Discusware to SMF Converter / BotBanish Support
https://blaxtonjames.com                         - Money, Knowledge And Power; Why You Are Missing All Three
https://joystickgangsta.com                      - An Experience You Can't Refuse
https://botbanish.com                                 - The Ultimate BOT Defender for SMF, OpenCart, WordPress  & Websites

Always ignore those who attempt to tell you what to think and believe those who will allow you think for yourself

Offline Randem

  • Jr. Member
  • **
  • Posts: 273
  • Gender: Male
    • Randem Systems
Re: WAMP Test site for 2.1 RC1
« Reply #11 on: March 06, 2019, 05:05:50 PM »
Update: All is working locally as expected after the installation of the fix-background-tasks MOD. Still have an intermittent issue with getting the timeout error using the login link. Most of the time it is after using the sign in link and not finishing the sign in then going to the log in link. Will test this further.
https://randemsystems.com/support/       -   Discusware to SMF Converter / BotBanish Support
https://blaxtonjames.com                         - Money, Knowledge And Power; Why You Are Missing All Three
https://joystickgangsta.com                      - An Experience You Can't Refuse
https://botbanish.com                                 - The Ultimate BOT Defender for SMF, OpenCart, WordPress  & Websites

Always ignore those who attempt to tell you what to think and believe those who will allow you think for yourself

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,626
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: WAMP Test site for 2.1 RC1
« Reply #12 on: March 06, 2019, 05:13:18 PM »
I would check your sessions save path and permissions on that path in your php.ini settings
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Randem

  • Jr. Member
  • **
  • Posts: 273
  • Gender: Male
    • Randem Systems
Re: WAMP Test site for 2.1 RC1
« Reply #13 on: March 07, 2019, 03:19:51 AM »
All the various timeouts have to do with expiring cookies and the creation/deletion of cookies.
https://randemsystems.com/support/       -   Discusware to SMF Converter / BotBanish Support
https://blaxtonjames.com                         - Money, Knowledge And Power; Why You Are Missing All Three
https://joystickgangsta.com                      - An Experience You Can't Refuse
https://botbanish.com                                 - The Ultimate BOT Defender for SMF, OpenCart, WordPress  & Websites

Always ignore those who attempt to tell you what to think and believe those who will allow you think for yourself