vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Error message when posting (https://vborg.vbsupport.ru/showthread.php?t=309770)

captainron19 03-21-2014 06:05 PM

Error message when posting
 
Had to have my website moved to a different server - my server company took care of all migration of files, databases etc.

My forum seems to be working fine with one exception..... when posting a new thread or replying to a thread I am re-directed to a white screen page reading ...

Fatal error: Call-time pass-by-reference has been removed in /home/njsurfta/public_html/forums/mobiquo/include/function_push.php on line 136

The thread and or reply is posted .... it just doesnt re-direct me back to the post.

Any ideas what could be wrong?

kh99 03-21-2014 06:21 PM

I think that means that your current tapatalk is not compatible with your version of php.

Max Taxable 03-21-2014 06:24 PM

Quote:

Originally Posted by kh99 (Post 2488773)
I think that means that your current tapatalk is not compatible with your version of php.

Yep and to the OP I am thinking, edit the file - go to the line specified and see if there is a ampersand there - if there is, delete it.

Use notepad++ to edit php files.

captainron19 03-21-2014 06:32 PM

Quote:

Originally Posted by kh99 (Post 2488773)
I think that means that your current tapatalk is not compatible with your version of php.

The only thing is .... it didnt happen when using Tapatalk from my phone (which I do have installed) - it happened when at computer

Max Taxable 03-21-2014 06:34 PM

There is no reference sign on a function call - only on function definitions. Function definitions alone are enough to correctly pass the argument by reference. As of PHP 5.3.0, you will get a warning saying that "call-time pass-by-reference" is deprecated when you use & in foo(&$a);. And as of PHP 5.4.0, call-time pass-by-reference was removed, so using it will raise a fatal error.

You need to go to the line specified in the warning and remove the ampersand.

captainron19 03-21-2014 06:36 PM

I did just try to create a thread using tapatalk and received this error...

Post Error
duplicate create / reply thread error, or the system restrict multiple thread within short time frame

kh99 03-21-2014 06:38 PM

Quote:

Originally Posted by captainron19 (Post 2488776)
The only thing is .... it didnt happen when using Tapatalk from my phone (which I do have installed) - it happened when at computer

The tapatalk code gets included on certain hooks even if you're not using the app.

What Max suggested may work.

Max Taxable 03-21-2014 06:38 PM

You must edit the function_push.php file. It is telling you exactly what you need.

Remove the ampersand from line 136 of that file.

kh99 03-21-2014 06:40 PM

Quote:

Originally Posted by captainron19 (Post 2488778)
I did just try to create a thread using tapatalk and received this error...

Post Error
duplicate create / reply thread error, or the system restrict multiple thread within short time frame

Yeah, Max has a good suggestion, but the reason I didn't get in to that is because there might be other issues besides that message, I don't know. It woul be better if you could upgrade, but I really don't know much about it, I only knew that the mobiquo directory was for tapatalk.

captainron19 03-21-2014 06:41 PM

Thanks Max ..... just edited the php file and removed the ampersand and all appears well

--------------- Added [DATE]1395427365[/DATE] at [TIME]1395427365[/TIME] ---------------

I installed Tapatalk so long ago that i forgot that it used that directory


All times are GMT. The time now is 07:23 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01060 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete