CreateMyBB Support Forums
Error when creating new post - new forum - Printable Version

+- CreateMyBB Support Forums (https://support.createmybb.com)
+-- Forum: CreateMyBB Support (https://support.createmybb.com/forumdisplay.php?fid=5)
+--- Forum: General Support (https://support.createmybb.com/forumdisplay.php?fid=6)
+--- Thread: Error when creating new post - new forum (/showthread.php?tid=2901)

Pages: 1 2 3


Error when creating new post - new forum - Alan sh - 06-24-2019

I have just created a new forum - hpbfriends.createmybb4.com



I have done nothing to the site yet apart from create some forums. No other users.




When I do a "create new post", I get this:




Any ideas? WHy is it referencing my C: drive?




Alan




===============================



MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.



MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.



The following warnings occurred:



Warning [2] Invalid argument supplied for foreach() - Line: 3424 - File: C:\sites\createmybb4\inc\functions.php PHP 7.1.27 (WINNT)




File                                                                     Line                    Function

C:\sites\createmybb4\inc\functions.php              3424                    errorHandler->error

C:\sites\createmybb4\newthread.php                   106                    build_mycode_inserter



Warning [2] Invalid argument supplied for foreach() - Line: 3616 - File: C:\sites\createmybb4\inc\functions.php PHP 7.1.27 (WINNT)



File                                                                      Line                    Function

C:\sites\createmybb4\inc\functions.php               3616                    errorHandler->error

C:\sites\createmybb4\newthread.php                    109                    build_clickable_smilies




=======================================================


RE: Error when creating new post - new forum - Alan sh - 06-24-2019

The bit that looks weird is that it is trying to reference "C:\sites\createmybb4\newthread.php" - Why?

Alan


RE: Error when creating new post - new forum - Alan sh - 06-24-2019

Jon,

Any ideas on this one? Should I try and create another site to see what happens? If doesn't happen on any existing site (but they were all created before the latest update)

Cheers

Alan


RE: Error when creating new post - new forum - Jon - 06-25-2019

Yeah give it a shot on another site. Hmm would if it is a template issue.


RE: Error when creating new post - new forum - Alan sh - 06-25-2019

I just tried creating a new forum - hpbtest.createmybb4.com - and I get the same issue when trying to create a new post.

I also tried adding a non-admin account and get the same error when trying to create a new post. The post does get created.
I get the same error when doing a reply to the post.

Help?????

Alan


RE: Error when creating new post - new forum - Alan sh - 06-25-2019

Oh - and the second new site had nothing done to it. No mods at all.

I had a quick look at comparing the source between an old site and the new one - it has changed, but I am not good enough to know what it all means.

Alan


RE: Error when creating new post - new forum - Jon - 06-25-2019

Still working on it. It is an issue with smiley caching.


RE: Error when creating new post - new forum - Alan sh - 06-25-2019

OK - thanks for the update.

Alan


RE: Error when creating new post - new forum - Alan sh - 06-26-2019

Morning Jon, any progress?

regards

Alan


RE: Error when creating new post - new forum - Alan sh - 06-27-2019

Ditto? Is this proving to be a big issue?

Alan