vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - PhotoPlog: The Lite Gallery (https://vborg.vbsupport.ru/showthread.php?t=101368)

trotskid 02-26-2012 09:53 PM

Hi. How could deny access to spiders in PhotoPlog? We have private categories to guests where spiders enter and images are indexed in search engines :eek:

Greetings

Sworm 12-01-2012 03:41 PM

Somebody know why i'm receiving this error in my 3.8.7? after photoplog install? (i'm on php 5.3.16)
Code:

Deprecated:  Assigning the return value of new by reference is deprecated in /home/download/public_html/vb/includes/init.php on line 55

Deprecated:  Assigning the return value of new by reference is deprecated in /home/download/public_html/vb/includes/init.php on line 107

Deprecated:  Assigning the return value of new by reference is deprecated in /home/download/public_html/vb/includes/init.php on line 111

Deprecated:  Assigning the return value of new by reference is deprecated in /home/download/public_html/vb/includes/init.php on line 119

Deprecated:  Assigning the return value of new by reference is deprecated in /home/download/public_html/vb/includes/init.php on line 130

Deprecated:  Assigning the return value of new by reference is deprecated in /home/download/public_html/vb/includes/init.php on line 134

Deprecated:  Assigning the return value of new by reference is deprecated in /home/download/public_html/vb/includes/init.php on line 142

Deprecated:  Assigning the return value of new by reference is deprecated in /home/download/public_html/vb/includes/init.php on line 211

Deprecated:  Assigning the return value of new by reference is deprecated in /home/download/public_html/vb/includes/init.php on line 389

Deprecated:  Assigning the return value of new by reference is deprecated in /home/download/public_html/vb/includes/class_core.php on line 2552


Simon Lloyd 12-01-2012 04:40 PM

You need to change your php error handling to add & ~8192, also you may want to find anywhere it says in the scripts for this mod MYSIAM TYPE and make sure it says ENGINE, that should work with your current php install.

Sworm 12-01-2012 05:18 PM

Quote:

Originally Posted by Simon Lloyd (Post 2387353)
You need to change your php error handling to add & 8192, also you may want to find anywhere it says in the scripts for this mod MYSIAM TYPE and make sure it says ENGINE, that should work with your current php install.

Hi Simon, i have that deprecated error in a lot of script... i followed a your suggest to permanent fix removing all the "&" in the init.php and in the class_core.php , can be a solution?

Simon Lloyd 12-01-2012 06:01 PM

I didnt mention removing & you need to do this:
find in product file TYPE=MyISAM;
and replace with ENGINE=MyISAM;
In your php environment you need to make sure it reads error_reporting(E_ALL & ~E_NOTICE & ~8192)

Sworm 12-01-2012 06:34 PM

Quote:

Originally Posted by Simon Lloyd (Post 2387375)
I didnt mention removing & you need to do this:
find in product file TYPE=MyISAM;
and replace with ENGINE=MyISAM;
In your php environment you need to make sure it reads error_reporting(E_ALL & ~E_NOTICE & ~8192)

I'll do it thanks, i find the error_reporting(E_ALL & ~E_NOTICE & ~8192) in my php.ini or where? Thanks.

And where i can found 'TYPE' ?

I'm sorry but i'm not expert. thanks

Sworm 12-01-2012 07:49 PM

Quote:

Originally Posted by Simon Lloyd (Post 2387375)
I didnt mention removing & you need to do this:
find in product file TYPE=MyISAM;
and replace with ENGINE=MyISAM;
In your php environment you need to make sure it reads error_reporting(E_ALL & ~E_NOTICE & ~8192)

Simon, the errors are fixed. I received that error clicking on ACP/Categories bla bla....

I have edited all the photoplog acp php file replacing:

Code:

error_reporting(E_ALL & ~E_NOTICE);
with

Code:

error_reporting(E_ALL & ~E_NOTICE & ~8192);
Now it's working :D THANK you REALLY. Can i ask if this is a better solution than removing all the "&" in the deprecated lines?

PS
When you talk about TYPE and ENGINE, you for eg. mean this type to change in engine?:
Code:

$vbulletin->input->clean_array_gpc('g', array(
    'count' => TYPE_UINT,
    'cid' => TYPE_UINT

and

Code:

    $vbulletin->input->clean_array_gpc('g', array(
        'c' => TYPE_UINT,
        'n' => TYPE_UINT,
        'u' => TYPE_UINT,
        'page' => TYPE_UINT,
        'pp' => TYPE_UINT,
        'q' => TYPE_NOHTML,
        'v' => TYPE_UINT



Thanks

Simon Lloyd 12-01-2012 08:13 PM

Quote:

Originally Posted by Sworm (Post 2387414)
Simon, the errors are fixed. I received that error clicking on ACP/Categories bla bla....

I have edited all the photoplog acp php file replacing:

Code:

error_reporting(E_ALL & ~E_NOTICE);
with

Code:

error_reporting(E_ALL & ~E_NOTICE & ~8192);
Now it's working :D THANK you REALLY. Can i ask if this is a better solution than removing all the "&" in the deprecated lines?

PS
When you talk about TYPE and ENGINE, you for eg. mean this type to change in engine?:
Code:

$vbulletin->input->clean_array_gpc('g', array(
    'count' => TYPE_UINT,
    'cid' => TYPE_UINT

and

Code:

    $vbulletin->input->clean_array_gpc('g', array(
        'c' => TYPE_UINT,
        'n' => TYPE_UINT,
        'u' => TYPE_UINT,
        'page' => TYPE_UINT,
        'pp' => TYPE_UINT,
        'q' => TYPE_NOHTML,
        'v' => TYPE_UINT



Thanks

Yes it's a better solution but that error coding should also be in your php.ini (ask your host if you're not sure), as for TYPE to ENGINE i mean wherever you see TYPE=MyISAM replace it with ENGINE=MyISAM in the files that you uploaded to server for this product.

Sworm 12-01-2012 08:27 PM

Quote:

Originally Posted by Simon Lloyd (Post 2387415)
Yes it's a better solution but that error coding should also be in your php.ini (ask your host if you're not sure), as for TYPE to ENGINE i mean wherever you see TYPE=MyISAM replace it with ENGINE=MyISAM in the files that you uploaded to server for this product.

I have asked to my host buy they said that can not help me about this.... they said that should better to ask to a coder..... can you explain me better what you mean when write "....in your php.ini" so i can ask them to fix it without soppressing?

For the TYPE i have searched in all my uploaded files the "TYPE=MyISAM" but no results. Thank you very much.

Simon Lloyd 12-01-2012 08:43 PM

the product coder has absolutely nothing to do with your server or its files, php.ini is one of your server files and your hosts definitely can and should do what you ask there, my advice if they wont do that (and they should for compliance) is to dump them!


If you don't find TYPE=MyISAM in your files then you've nothing to change :)


All times are GMT. The time now is 01:07 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.03124 seconds
  • Memory Usage 1,756KB
  • 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
  • (9)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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