vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=119041)

Underlab 08-16-2007 07:09 PM

:confused:I uploaded the files. When I go to the admin and click on

links and downloads>settings>
or
links and downloads>permissions>

I get -

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 737280 bytes) in /../forums/local_links_admin.php(1693) : eval()'d code on line 386

what do I do? Where do i even begin to check out the problem?

AndrewD 08-16-2007 07:23 PM

Quote:

Originally Posted by Underlab (Post 1319125)
:confused:I uploaded the files. When I go to the admin and click on

links and downloads>settings>
or
links and downloads>permissions>

I get -

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 737280 bytes) in /../forums/local_links_admin.php(1693) : eval()'d code on line 386

what do I do? Where do i even begin to check out the problem?

Looks like your web server is allowing php to use up to 8Mbytes. Depending on how many hacks you install into VBulletin, it is easy to exceed this.

Go to vbulletin->admincp->maintenance->phpinfo. Look for the memory_limit and safe_mode settings. I imagine you'll find that memory_limit is 8M. You should ideally get your site admin to increase that to (e.g.) 12M - it's set in the server's php.ini file.

If you can't do that, and provided safe_mode is off, I can probably give you a patch that will get round the problem.

dilbert 08-16-2007 08:53 PM

I tried upgrading to php 5, and vBulletin itself was giving this type of error. I needed to move back to php4. My host is currently set at 8MB, and will be updating that soon so I can move back to php5.

itsblack 08-16-2007 11:57 PM

Quote:

Originally Posted by AndrewD (Post 1319057)
Replace the ldm_tot.php file in your forum/modules directory with the attached and let me know if this is ok. I've tried to make it a bit smarter.

Yes, it works great. :up:

itsblack 08-17-2007 09:56 AM

Hi Andrew, is that possible to let the keyword have more than 1 word? I mean, key phrases, like amazon did. For some phrases, such as "fairy tales", I don't know how to appoint the keyword with only one word.

AndrewD 08-17-2007 10:00 AM

Quote:

Originally Posted by itsblack (Post 1319462)
Hi Andrew, is that possible to let the keyword have more than 1 word? I mean, key phrases, like amazon did. For some phrases, such as "fairy tales", I don't know how to appoint the keyword with only one word.

I think that would require some careful checking through the code, to avoid unexpected consequences. Why not use something like an underscore to replace spaces?

Alfa1 08-17-2007 12:00 PM

Members often put keyphrases in anyway. This now causes a mass of unwanted keywords, as every word in the phrase is handled as a keyword. These need to be cleaned up regularly. I have about 600 keywords I need to delete per month.
I did add keywords with dashes, like 'fairy-tales', but members will enter 'fairy tales' non the less and leave 'fairy-tailes' untouched.

AndrewD 08-17-2007 12:07 PM

Quote:

Originally Posted by Alfa1 (Post 1319572)
Members often put keyphrases in anyway. This now causes a mass of unwanted keywords, as every word in the phrase is handled as a keyword. These need to be cleaned up regularly. I have about 600 keywords I need to delete per month.
I did add keywords with dashes, like 'fairy-tales', but members will enter 'fairy tales' non the less and leave 'fairy-tailes' untouched.

OK, it clearly needs a rethink. Not sure that this can be done for 2.2.8 - I keep telling myself that we've reached the end...

Alfa1 08-17-2007 11:15 PM

You've created a monster Andrew. It's so good that the end is near the end of the rainbow. I mean this. You can expand this to be an advanced photo / image gallery, a advanced multimedia player( wimpy only plays a few formats), reciprocal links manager, expand vb integration, add design options, etc. etc.

I do believe that your software is no less valuable than vbulletin itself and therefor to fully develop it to full potential, you'll need either a lot of time or a team of coders.

Tulsa 08-17-2007 11:38 PM

How has this escaped being mod of the month? It should be mod of the year!!


All times are GMT. The time now is 01: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.03794 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)pagenav_pagelink
  • (5)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