vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Old vB Plugin on PHP7 (https://vborg.vbsupport.ru/showthread.php?t=326910)

Calahan 11-18-2018 09:05 PM

Old vB Plugin on PHP7
 
Hello

I`m still using an old plugin which is only working under PHP5.
I?m talking about vB Easy Archive
https://vbulletin.org/forum/showthread.php?t=83439

Is there a chance to get it working on PHP7?

motd2 11-20-2018 01:40 AM

what error do you get?

Calahan 11-20-2018 10:46 PM

I can see the forumhome
This works
But if a klick on a thread I see a blank page

motd2 11-21-2018 12:10 AM

What is in your error_logs (if you don't know where they are, ask your host)?

Calahan 11-28-2018 06:39 PM

It shows me the following error

[php7:emerg] [pid 8371] [client 89.11.121.64:0] PHP Parse error: syntax error, unexpected 'new' (T_NEW) in /home/admin/domains/public_html/archiv/topic on line 67, referer: http://www.domain.com/archiv/forum/2-1.html

snakes1100 11-28-2018 06:47 PM

Edit the file/plugin and change:

=& new

to

= new

Calahan 11-29-2018 08:10 PM

Perfect :D:D
Thanks a million :up:

snakes1100 11-29-2018 08:12 PM

Welcome

Emad ELsayed 01-20-2019 03:09 PM

1 Attachment(s)
Quote:

Originally Posted by snakes1100 (Post 2597558)
Edit the file/plugin and change:
=& new
to
= new

my dear
Could you help me solve this error with one product.
The product works superbly with php 5.6 but does not work with php 7.2

PHP Fatal error: Call to undefined function split() on line 3 in /home/hier/public_html/newthread.php(151) : eval()'d code(13) : eval()'d code
in /home/hier/public_html/vb/vb.php on line 286

Product in attachments

snakes1100 01-20-2019 04:25 PM

Sorry i can't, this is a completely different issue, you would need a lot more code changing to make that hack work with php 7.2, i would suggest posting for a paid job.


All times are GMT. The time now is 11:25 AM.

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.02083 seconds
  • Memory Usage 1,727KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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