Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > vbArticles
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[Fixed] Two minor probs Details »»
[Fixed] Two minor probs
Version: , by valentine valentine is offline
Developer Last Online: Mar 2007 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-01-2005 Last Update: Never Installs: 0
 
No support by the author.

Hi, I know this is gonna sound dumb because I've read all the other threads relating to this, but I just cannot fathom it out.

I have two errors:

1. Whenever I try to add a new article, I get the following error:
Code:
Warning: mkdir() [function.mkdir]: No such file or directory in /articles.php on line 366

Warning: copy(home/tr8der/public_html/images/articles/12/techanal.jpg) [function.copy]: failed to open stream: No such file or directory in /articles.php on line 378
And at the same time

Code:
Error encountered while trying to upload the image.
I figured this was down to my paths, but I've run the findpath.php script which generates:

home/name/public_html/

So i've used:

home/name/public_html/images/articles/ (these go in the same "images" folder as the default for VB - is this the problem) and its set to CHMOD 777.

and i've used home/name/public_html/images/articles/category/

but no dice.


The second error is in the ACP:

Code:
Warning: main(home/tr8der/public_html/admincontrol/FCKeditor/fckeditor.php) [function.main]: failed to open stream: No such file or directory in /admincontrol/vbarticles.php on line 29

Warning: main() [function.include]: Failed opening 'home/tr8der/public_html/admincontrol/FCKeditor/fckeditor.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /admincontrol/vbarticles.php on line 29
Again, i've checked the path for this and it appears to be OK, although I'm sure I'll have missed doin' something simple.

If anyone could help/suggest a fix, I'd be grateful.

I'm on v3.0.5 btw, using vbAdvanced.



EDITED:


Surprise surprise. I figured it out.

For anyone else who wants to make themselves look stupid, I'll save you the trouble. You need to have a "/" at the beginning of the paths, as well as the end.

Now everything works as intended.

Superb hack. Absolute top marks.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-01-2005, 11:07 PM
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Posts: 1,398
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by valentine
EDITED:

Surprise surprise. I figured it out.
For anyone else who wants to make themselves look stupid, I'll save you the trouble. You need to have a "/" at the beginning of the paths, as well as the end.
Glad you worked it out.
Yep, you need the slashes, because that is the full path.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:35 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.03601 seconds
  • Memory Usage 2,200KB
  • Queries Executed 15 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (1)postbit
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete