vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vbArticles (https://vborg.vbsupport.ru/forumdisplay.php?f=106)
-   -   [Fixed] Invalid File Specified.. error returns! (https://vborg.vbsupport.ru/showthread.php?t=76810)

KTBleeding 02-22-2005 12:49 AM

[Fixed] Invalid File Specified.. error returns!
 
Hey guys,
On a fresh install of 2.0, if I add an article, no matter what it says "Invalid File Specified" but I have browsed and found an article image. I don't know what it could be?

Thanks.

cinq 02-22-2005 12:52 AM

That will only happen if you did not upload the article together with an article image ( of jpg or gif format ).

KTBleeding 02-22-2005 12:54 AM

Weird, I tried both gif and jpg. I was uploading it at the time of creating the article. This is done through the actual "articles.php" file, and not through the admin CP.

Edit 1:
Well, I found out that it's putting them in the "approve submitted articles" area, but the images still never uploaded.

Edit 2:
I went in the admin area to edit the article and added the article image.. It worked, the image uploaded fine, but above the "Image added successfully"
there was an error.. Maybe this is why I'm having this problem?
PHP Code:

Warningunlink(/home/user/path/to/forums/images/articles/): Is a directory in /adminareafoldername/vbarticles.php on line 1237

Image uploaded successfully



KTBleeding 02-24-2005 02:21 PM

Is anyone else having this problem?

cinq 02-25-2005 03:00 AM

Was it a .gif image you were trying to upload, that you are facing this problems ( article submission through frontend and not admincp ) ?

If so, my bad, error in my code.
Will be fixed in upcoming revision.

KTBleeding 02-25-2005 04:32 AM

Well, it happened with both a .gif and .jpg

I've tried it from an account in each usergroup just to make sure I didn't do a permission setting wrong somewhere, but no dice.

cinq 02-25-2005 04:35 AM

Nothing to do with usergroup permission settings.

You are trying to add an article how ? Admincp or frontend ?

KTBleeding 02-25-2005 04:35 AM

OH! btw, how did the interview go? Good, I hope?

EDIT: Front end, adding it via admincp works fine. But the problem is I have to rely on user submitted articles too much for what I'm trying to do.

cinq 02-25-2005 04:40 AM

<font size="1">Alright I guess, pending 2nd round, going for another later ( which includes a programming test, yikes !!</font>

Ok just to be sure, we are talking about adding an article on Front end, and the article image we are talking about here is the article ICON and not the optional images you can add to the article, correct ?

KTBleeding 02-25-2005 04:42 AM

Correct, the article icon.. and front end. Accessing through articles.php, and not admincp/vbarticles.php. :)

cinq 02-25-2005 05:28 AM

Problem fixed after going in to check.
Was an issue with KTBleeding customizing the install ( using 2 implementations of this hack on the same boards ) :)

KTBleeding 02-25-2005 05:49 AM

Indeed, my mistake.. haha

Everyone already knows this, but I'll say it again. Cinq is awesome with supporting this hack, end of story.

Thanks again cinq.


All times are GMT. The time now is 07:54 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.02833 seconds
  • Memory Usage 1,729KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete