Google

NukeCoder


View next topic
View previous topic
Post new topic   Reply to topic
Author Message
Dameon




Joined: Mar 14, 2005
Posts: 10
Location: Ohio

PostPosted: Tue Mar 15, 2005 3:51 pm
Reply with quote

If I enter the URL, does it have to upload from that URL? I have my maps on another server. Plus they are already uploaded. I keep getting: _ERROROCCURED - 002

Also in modules/Maps/admin/incs/config.php on line 33:

Header("Location: admin".$admin_file.".php?op=mapconfig");

Inline:

"Location: admin"

The admin needs to be removed.
 
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Tue Mar 15, 2005 4:56 pm
Reply with quote

No you don't have to copy to your server, it will work fine from another server with the full url except the filesize wont show and it won't show up in group download.
 
View user's profile Send private message Visit poster's website
Dameon




Joined: Mar 14, 2005
Posts: 10
Location: Ohio

PostPosted: Tue Mar 15, 2005 5:31 pm
Reply with quote

I'm sorry, I can't get it to let me add maps. From what I see in the code the error 02 should only occur on uploaded files but I am not uploading a file and even when I do I get the error. Am I all messed up?
 
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Tue Mar 15, 2005 5:52 pm
Reply with quote

your right, but are you uploading images?
 
View user's profile Send private message Visit poster's website
Dameon




Joined: Mar 14, 2005
Posts: 10
Location: Ohio

PostPosted: Tue Mar 15, 2005 5:55 pm
Reply with quote

Those are also in another dir on the server but on the local server.

What I am doing is adding to my downloads then also adding to the maps module. I like how it displays them.
 
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Tue Mar 15, 2005 6:24 pm
Reply with quote

so what are you putting into the image and file fields?
 
View user's profile Send private message Visit poster's website
Dameon




Joined: Mar 14, 2005
Posts: 10
Location: Ohio

PostPosted: Tue Mar 15, 2005 6:45 pm
Reply with quote

in the image and file upload inputs are empty. The 2 url fields are filed with the paths to there respective files.

I got it to work, but not sure it is what you intended.

In mapsaddmap.php line 29

Code:
if ($_FILES['upfile'] != ""){


I replaced with

Code:
if ($_FILES['upfile']['size'] != 0){


And line 36

Code:
if ($_FILES['upfile2'] != ""){


I replaced with

Code:
if ($_FILES['upfile2']['size'] != 0){


I hope that helps you. Now I have only tried that with the add map.

Dameon
 
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number
Guest







PostPosted: Wed Mar 16, 2005 3:24 am
Reply with quote

That worked a treat for me too....thanks I was pulling my hair out.
 
ButterB




Joined: Mar 11, 2005
Posts: 4

PostPosted: Wed Mar 16, 2005 12:49 pm
Reply with quote

Yes....thank you for those fixes. Both work good now. Smile
 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Wed Mar 16, 2005 2:42 pm
Reply with quote

actually it was intended to be

Code:

if ($_FILES['upfile']['name'] != ""){


and

Code:

if ($_FILES['upfile2']['name'] != ""){


but either way will work
 
View user's profile Send private message Visit poster's website
Dameon




Joined: Mar 14, 2005
Posts: 10
Location: Ohio

PostPosted: Wed Mar 16, 2005 4:12 pm
Reply with quote

Thanks gotcha
 
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number
Guest







PostPosted: Sun Jun 26, 2005 12:01 pm
Reply with quote

gotcha wrote:
No you don't have to copy to your server, it will work fine from another server with the full url except the filesize wont show and it won't show up in group download.


Hello, i am french and my english is very bad.

There is a possible solution for the filesize ?

Thanks for your answer... and cheer for this module !

Alain
 
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Sun Jun 26, 2005 9:15 pm
Reply with quote

sorry, the filesize only works for files stored on your server.
 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 5 Hours
Forums ©