php forum
php mysql forum
php mysql smarty
 
Page 6 of 10 < 1 2 ... 4 5 6 7 8 9 10 >
Topic Options
#203051 - 07/29/04 03:43 PM Re: [6.7] [beta] UBB.Uploader
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA

   Re: [6.7] [beta] UBB.Uploader to Del.icio.us Add to del.icio.us
  Digg Re: [6.7] [beta] UBB.Uploader Digg it
the url to the folder you entered does correspond to the path you entered, right?
_________________________
Code monkey like Fritos

Top
#203052 - 07/29/04 08:56 PM Re: [6.7] [beta] UBB.Uploader
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5123
Loc: Portland, OR, USA
Have you tried accessing the url where the graphic is via your browser to ensure it is in fact where the UBB is being told where it is?
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#203053 - 08/01/04 01:16 PM Re: [6.7] [beta] UBB.Uploader
Chí Phèo Offline
Junior Member

Registered: 01/31/04
Posts: 15
In the install.txt . They wrote :

Quote:
quote:
########################################################
###Open ubb_lib.cgi
########################################################

########
# find #
########

$vars_config{'MaxMemFields'} = 43;
But I cound found this line in my ubb_lib.cgi ( I'm using UBB 6.6)

And After add some line to vars_wordlets.cgi

example:
q!upload-_-form-title! => q!%%BBTITLE%% Upload Form!,
q!upload-_-form-submit! => q! Upload !,
q!upload-_-form-link! => q!Upload File!,
q!upload-_-form-manager! => q!Upload Manager!,
q!upload-_-manager-title! => q!%%BBTITLE%% Upload Manager!,
q!upload-_-manager-delete! => q!Delete!,

In Control Panel -->Wordlets List-->Primary, I can't see them.

Who know how to fix that error, help me !!!
_________________________
Chí Phèo

http://phamtrungdung.biz/cgi-bin/ultimatebb.cgi <---My UBB demo board

Top
#203054 - 08/01/04 01:45 PM Re: [6.7] [beta] UBB.Uploader
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
This is a 6.7 mod
_________________________
Code monkey like Fritos

Top
#203055 - 08/19/04 02:24 AM Re: [6.7] [beta] UBB.Uploader
Alan Thompson Offline
Junior Member

Registered: 08/19/04
Posts: 14
Loc: Todos Santos, Mexico
OK. I've reread this topic a few times and managed to solve most of the problems mentioned here except for the corrupted image issue a few others are having.

The files are getting uploaded to the right place, I can check them in FTP. But when I try to browse them, they're corrupted. Some display partially, some don't display at all and just return the little red X in IE. Mozilla is a little more helpful, returning an error message:

Quote:
quote:
The image “http://www.sharpeiforums.com/ubb/uploads/00000001/amber-II.jpg” cannot be displayed, because it contains errors.
This site is on shared hosting in a Windows 2K server. I'm running WinXP Pro. Any ideas, anyone?
_________________________
The Chinese Shar-Pei Forums
http://www.sharpeiforums.com

Top
#203056 - 08/19/04 05:04 AM Re: [6.7] [beta] UBB.Uploader
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
This was the same issue that another got earlier this month.

Just too make sure you downloaded from http://pavioni.com/scripts/dl.php/Uploader6.7.zip ? If not, dl that and reupload ubb_upload.cgi.

Top
#203057 - 08/19/04 10:22 AM Re: [6.7] [beta] UBB.Uploader
Alan Thompson Offline
Junior Member

Registered: 08/19/04
Posts: 14
Loc: Todos Santos, Mexico
Hi Brett,

Thanks for getting back so quickly. I know you're busy.

Per Ian Spence's post earlier in this thread, the file I had last DL'ed was from Uploader6.7_2. I downloaded the one you posted above and installed it "as is," without making any of the hacks mentioned elsewhere in this thread. Now I get this error:

Quote:
quote:
Can't locate /vars_misc.cgi in @INC (@INC contains: ./Modules . d:htmluserssharpeiforumscomhtmlcgi-bin d:htmluserssharpeiforumscomhtmlcgi-binModules D:/Perl/lib D:/Perl/site/lib) at d:htmluserssharpeiforumscomhtmlcgi-binubb_upload.cgi line 72.

For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.

[Thu Aug 19 09:11:26 2004] ubb_upload.cgi: Can't locate /vars_misc.cgi in @INC (@INC contains: ./Modules . d:htmluserssharpeiforumscomhtmlcgi-bin d:htmluserssharpeiforumscomhtmlcgi-binModules D:/Perl/lib D:/Perl/site/lib) at d:htmluserssharpeiforumscomhtmlcgi-binubb_upload.cgi line 72.
Do I need to hack this file per earlier posts?
_________________________
The Chinese Shar-Pei Forums
http://www.sharpeiforums.com

Top
#203058 - 08/20/04 11:11 AM Re: [6.7] [beta] UBB.Uploader
Alan Thompson Offline
Junior Member

Registered: 08/19/04
Posts: 14
Loc: Todos Santos, Mexico
Well, I rolled back to the ubb_upload.cgi version in Ian's link to 6_7_2 and that solved the problem above but now I'm back to dealing with the corruption problem.
_________________________
The Chinese Shar-Pei Forums
http://www.sharpeiforums.com

Top
#203059 - 08/20/04 11:24 AM Re: [6.7] [beta] UBB.Uploader
Alan Thompson Offline
Junior Member

Registered: 08/19/04
Posts: 14
Loc: Todos Santos, Mexico
More info on the file corruption problem here in UBBDEV in another topic:
http://www.ubbdev.com/ubb/ultimatebb.php/topic/20/252/8.html
_________________________
The Chinese Shar-Pei Forums
http://www.sharpeiforums.com

Top
#203060 - 08/20/04 04:22 PM Re: [6.7] [beta] UBB.Uploader
Alan Thompson Offline
Junior Member

Registered: 08/19/04
Posts: 14
Loc: Todos Santos, Mexico
"Sigh" I think I'm just two code lines away from fixing this problem:

If only I knew PERL...

I don't like Window$ any more than the rest of you but I'm stuck with it for now... :rolleyes:
_________________________
The Chinese Shar-Pei Forums
http://www.sharpeiforums.com

Top
#203061 - 08/20/04 04:26 PM Re: [6.7] [beta] UBB.Uploader
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
This is untested, but try the following.

Find:
Code:
	my $fullpath = "$vars_misc{upload_dir}/".$user_number."/$Filename";
	my $handle = $filehandle->open('file', 'writeonly', $fullpath);
Add after:
Code:
	binmode($in{FILE});
_________________________
Code monkey like Fritos

Top
#203062 - 08/20/04 04:48 PM Re: [6.7] [beta] UBB.Uploader
Alan Thompson Offline
Junior Member

Registered: 08/19/04
Posts: 14
Loc: Todos Santos, Mexico
Hi Ian,

Thanks, I thought I was getting close. I had put that same line in earlier, only here two lines down:

my $FileSize = 0;
binmode($in{FILE});

Doesn't seem to make any change in either place, tho.

I saw a reference in Dave_L\'s Post to binmode being inserted on two lines and I assumed (PERL-dope that I am) a pair was required for file read and write, similar to his example of
Code:
binmode $File_Handle;
binmode OUTFILE;
while ($Bytes = read($File_Handle,$Buffer,1024))
{    $BytesRead += $Bytes;
print OUTFILE $Buffer;}
Or does $handle take care of both?
_________________________
The Chinese Shar-Pei Forums
http://www.sharpeiforums.com

Top
#203063 - 08/22/04 12:39 AM Re: [6.7] [beta] UBB.Uploader
Alan Thompson Offline
Junior Member

Registered: 08/19/04
Posts: 14
Loc: Todos Santos, Mexico
I'll try a fresh install working from Brett's latest version and see how far I get....

Brett, thanks for all your hard work on this mod. A lot of thought went into it. The interface looked really sweet within my board and I really liked the tight integration. It's exactly what I was looking for.

I just hope I can get it working on this damn Win server. smash
_________________________
The Chinese Shar-Pei Forums
http://www.sharpeiforums.com

Top
#203064 - 08/22/04 11:41 PM Re: [6.7] [beta] UBB.Uploader
Alan Thompson Offline
Junior Member

Registered: 08/19/04
Posts: 14
Loc: Todos Santos, Mexico
OK. I got it to work.

I was still getting the fail posted above after going over all the instructs and reinstall.

Sure enuf, a prob on line 68 breaks the whole script:

require "../variables/vars_config.cgi";};

I don't have "/variables/" - only /cgi-bin/ and /cgi-bin/Modules/. Deleted ../variables/ and fixed it.

Sheesh, Brett, I see now you added binmode and that fixed the corruption prob. Re-ignore my other posts... D'oh!

thumbsup Great script, Brett thumbsup
_________________________
The Chinese Shar-Pei Forums
http://www.sharpeiforums.com

Top
#203065 - 09/10/04 01:26 AM Re: [6.7] [beta] UBB.Uploader
PhillipBurum Offline
Member

Registered: 11/02/03
Posts: 155
My turn?

Ok, as many of you have probably noticed, I get a lot of the following type errors..

Error message:
Premature end of script headers: ubb_upload.cgi

This time, I was smart enough to upload that file several times both using WSFTP, and the HTTP Interface of my host (PLESK).

I still get that error.

Also, I am unsure as to the settings for the Path and URL in the CP settings. What should these look like to make it use teh default for the Members folders? When I performed the install, the fields both contained "15" for their values. I changed them to the paths, but have been untested due to my server header error.

Also, when I set the CP settings, I always get atleast 5 form validation errors. Although not every check box is selected, there is atleast some text in every text field.

TIA for any help. It is so greatly appreciated!

--Phillip
_________________________
United Devices Points: [img]http://www.ubbdev.com/ud/?u=phillip.burum&s=1[/img]

Top
#203066 - 09/10/04 01:28 AM Re: [6.7] [beta] UBB.Uploader
PhillipBurum Offline
Member

Registered: 11/02/03
Posts: 155
Also, I forgot to mention that not only did I re-upload the file several times, I tried the file from both sources in this thread.

Thanks!

--Phillip
_________________________
United Devices Points: [img]http://www.ubbdev.com/ud/?u=phillip.burum&s=1[/img]

Top
#203067 - 09/10/04 08:16 AM Re: [6.7] [beta] UBB.Uploader
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Fixed your site. Problem was #!c:/Perl/bin/Perl.exe at the beginning of the download file, not #!/usr/bin/perl
_________________________
Code monkey like Fritos

Top
#203068 - 09/10/04 12:01 PM Re: [6.7] [beta] UBB.Uploader
PhillipBurum Offline
Member

Registered: 11/02/03
Posts: 155
I wondered about that when I opened the file to make sure it wasn't corrupt.

I thought however, that any line that started with a pound sign (#) was remarked out. Appearently not.

Again I learned something new. Thank you!
_________________________
United Devices Points: [img]http://www.ubbdev.com/ud/?u=phillip.burum&s=1[/img]

Top
#203069 - 09/10/04 12:12 PM Re: [6.7] [beta] UBB.Uploader
PhillipBurum Offline
Member

Registered: 11/02/03
Posts: 155
Ok, so i just tried to test it. It seemed to work well. It "Uploaded" the file to MY directory like it should but when I clicked on the URL it supplied, I get a...

Premature end of script headers


On the picture!

I'm so confused. A picture can't do that, can it?
_________________________
United Devices Points: [img]http://www.ubbdev.com/ud/?u=phillip.burum&s=1[/img]

Top
#203070 - 09/10/04 01:00 PM Re: [6.7] [beta] UBB.Uploader
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
you're uploading into the cgi-bin, so the server assumes anything there is a script. Change the upload directory and it should be fine
_________________________
Code monkey like Fritos

Top
Page 6 of 10 < 1 2 ... 4 5 6 7 8 9 10 >


Moderator:  Charles, Gizmo 
Who's Online
0 Registered (), 38 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
pisa666, ghengis317, NitroX, Dogan, EliYah-
13345 Registered Users
Top Posters Last 30 Days
AllenAyres 12
blaaskaak 8
tackaberry 7
FREAK1 6
Mike L_dup1 4
Chris Bale 4
Ian_W 4

 

 

 
fusionbb message board php hacks