vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Links and Files Database (https://vborg.vbsupport.ru/showthread.php?t=60403)

AndrewD 05-12-2005 04:24 AM

Quote:

Originally Posted by Tradjick
When i save the settings i run into the following error. It saves things correctly, but what is it that?s causing this?

Warning: implode(): Bad arguments. in /local_links_admin.php on line 730

Warning: implode(): Bad arguments. in /local_links_admin.php on line 837

One of the arguments being passed from the permissions form to the script is bad. This shouldn't happen. Have you edited the admin templates at all?

Please can you upload the attached version of local_links_admin.php and go through the process of saving the settings. It will not actually save anything, but instead will produce a page of debugging messages. Pls send these to me by PM so I can take a look. Once you're done, just re-upload the original loccal_links_admin.php

AndrewD 05-12-2005 05:11 PM

Quote:

Originally Posted by AndrewD
One of the arguments being passed from the permissions form to the script is bad. This shouldn't happen. Have you edited the admin templates at all?

Please can you upload the attached version of local_links_admin.php and go through the process of saving the settings. It will not actually save anything, but instead will produce a page of debugging messages. Pls send these to me by PM so I can take a look. Once you're done, just re-upload the original loccal_links_admin.php

I don't understand why, but the value of monitor_dir is being returned from the form in the wrong format. I cannot reproduce this. However, the attached version of local_links_admin.php should correct the bug. Can you try?

Can you also let me know what version of php you are using.

Tradjick 05-12-2005 07:32 PM

Excellent! It works now.

Is that problem also fixed for future updates?

Thank you so much!

AndrewD 05-13-2005 04:13 AM

Quote:

Originally Posted by Tradjick
Excellent! It works now.

Is that problem also fixed for future updates?

Thank you so much!

Good, fixed and uploaded and imprinted on my mind...

joeychgo 05-13-2005 01:31 PM

INstalled again on my new Mopar Forum - Thanks for the great hack!

CHIngs 05-16-2005 12:55 AM

On the next version, can you please include a feature where we can limit ONE DOWNLOAD until the TIME SPECIFIED?

Because I tried it on my own and it didnt seem to quite work.

AndrewD 05-16-2005 05:21 AM

Quote:

Originally Posted by CHIngs
On the next version, can you please include a feature where we can limit ONE DOWNLOAD until the TIME SPECIFIED?

Because I tried it on my own and it didnt seem to quite work.

Thanks for the suggestion. Do you mean:

- When a user enters a link/file, she specifies the first time at which it can be accessed? (e.g. at 15:00 on the 1st June)

or

- The administrator can set up the database for that people can only make multiple downloads at certain times of day? (e.g. between 09:00 and 12:00)

or something else?

Slave 05-16-2005 08:44 AM

++++ .. I was happily adding links to my db and I suddenly get the following error message ..

Code:

Database error in vBulletin 3.0.3:

Invalid SQL:
                SELECT DISTINCT link.linkid AS linkid, link.linkname AS linkname, link.linkuserid AS linkuserid,
                        link.linkusername AS linkusername, link.linkurl AS linkurl, link.linkimg AS linkimg, link.linkdesc AS linkdesc,
                        link.linkhits AS linkhits, link.linkstatus AS linkstatus, link.linkdate AS linkdate,
                        link.linkmoderate AS linkmoderate,
                        ltoc.catid AS linkcatid, ltoc.displayorder AS linkdorder, ltoc2.catid AS linkcatid2
                FROM (local_linkslink AS link
                LEFT JOIN local_linksltoc AS ltoc
                ON link.linkid = ltoc.linkid)
                LEFT JOIN local_linksltoc AS ltoc2
                ON link.linkid = ltoc2.linkid
                WHERE
                        ltoc.catid = '6'
                        AND link.linkforum NOT IN (0)
               
                ORDER BY linkdorder ASC, linkname ASC,  linkcatid ASC
               
mysql error: Can't open file: 'local_linkslink.MYD'. (errno: 145)

mysql error number: 1016

Date: Monday 16th of May 2005 10:40:41 AM
Script: /local_links.php?catid=6
Referer: /local_links.php?action=links&catid=-1
Username: Slave
IP Address: 81.433.23.12

So I go and have a look at the local_linkslink table within the db and it's empty! and semingly corrupted ..

:(

So a quick reminder to peeps to keep things backed up .. just in case! Luckily I've got a backup from a few days ago I think so it's not too bad ..

AndrewD .. anything in the code that would cause this? .. or have you heard anything like that before?

AndrewD 05-16-2005 08:48 AM

Quote:

Originally Posted by Slave
++++ .. I was happily adding links to my db and I suddenly get the following error message ..

[code]Database error in vBulletin 3.0.3:

So a quick reminder to peeps to keep things backed up .. just in case! Luckily I've got a backup from a few days ago I think so it's not too bad ..

AndrewD .. anything in the code that would cause this? .. or have you heard anything like that before?

Ouch!

I've not seen this happen before - as you say, it looks like a corrupt database table.

I've found that it's worthwhile doing regular optimize/repair checks on your database - the VB admin page permits this, or phpmyadmin can do it also.

Slave 05-16-2005 08:50 AM

In fact I went one step further and repaired the table using the vB tools.php within the admin folder ..

/me wipes his brow!


All times are GMT. The time now is 04:01 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.01995 seconds
  • Memory Usage 1,751KB
  • 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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