Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
3 registered (driv, FordDoctor, Ruben Rocha), 28 Guests and 21 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 11/21/08
Posts: 1
Top Posters (30 Days)
Ruben Rocha 180
Gizmo 112
Rick 106
Thelockman 79
driv 43
AllenAyres 35
ntdoc 28
Ian 24
Sirdude 23
ScriptKeeper 20
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
Topic Options
Rate This Topic
#1888 - 07/25/06 12:15 AM [FIXED in b2] Adding News images
Zarzal Offline
old hand

Registered: 06/05/06
Posts: 1091
Loc: Berlin, Germany
I go to the control panel, and try to upload a news image. After I send my new image I will taken back to the 'Forum Images' tab and not to the News Image tab.

If I try to delete a News Image I get the following error:


Warning: opendir(/home/.../ubb7/news/default) [function.opendir]: failed to open dir: No such file or directory in /home/.../ubb7/admin/doeditnewsimages.php on line 58

Warning: readdir(): supplied argument is not a valid Directory resource in /home/.../ubb7/admin/doeditnewsimages.php on line 60

It looks like there is a /images missing in the path in doeditnewsimages.php

/Edit: open /admin/doeditnewsimages.php
Change line 58 from:

$dir = opendir("{$config['FULL_PATH']}/{$style_array['news']}");

to:

$dir = opendir("{$config['FULL_PATH']}/images/{$style_array['news']}");



Edited by Rick (07/26/06 09:07 AM)
_________________________
my board: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen

Top
#1958 - 07/26/06 09:07 AM Re: Adding News images [Re: Zarzal]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7903
Loc: Aberdeen, WA
Thanks Zarzal. All fixed for b2.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top


Shout Box

Today's Birthdays
No Birthdays
Recent Topics
I'm the Admin but.....
by David DelMonte
Today at 11:12 AM
Fatal error: Smarty::require_once
()

by ThreadsUser
Today at 08:17 AM
PayPal batch file for ID'ing expired and failed payment subscriptions?
by Mitch P.
Today at 06:02 AM
Shrinking graemlins
by Djuma
Yesterday at 05:48 PM
2 problems I'm seeing now.
by DougMM
Yesterday at 04:39 PM
Forum Stats
4261 Members
33 Forums
30535 Topics
154977 Posts

Max Online: 978 @ 06/24/07 08:19 PM