Version: , by valentine
Developer Last Online: Mar 2007
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.
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.