| Author |
Message |
Dameon

Joined: Mar 14, 2005
Posts: 10
Location: Ohio
|
Posted:
Tue Mar 15, 2005 3:51 pm |
|
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. |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 921
|
Posted:
Tue Mar 15, 2005 4:56 pm |
|
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. |
| |
|
|
 |
Dameon

Joined: Mar 14, 2005
Posts: 10
Location: Ohio
|
Posted:
Tue Mar 15, 2005 5:31 pm |
|
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? |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 921
|
Posted:
Tue Mar 15, 2005 5:52 pm |
|
your right, but are you uploading images? |
| |
|
|
 |
Dameon

Joined: Mar 14, 2005
Posts: 10
Location: Ohio
|
Posted:
Tue Mar 15, 2005 5:55 pm |
|
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. |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 921
|
Posted:
Tue Mar 15, 2005 6:24 pm |
|
so what are you putting into the image and file fields? |
| |
|
|
 |
Dameon

Joined: Mar 14, 2005
Posts: 10
Location: Ohio
|
Posted:
Tue Mar 15, 2005 6:45 pm |
|
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 |
| |
|
|
 |
Guest

|
Posted:
Wed Mar 16, 2005 3:24 am |
|
That worked a treat for me too....thanks I was pulling my hair out. |
| |
|
|
 |
ButterB

Joined: Mar 11, 2005
Posts: 4
|
Posted:
Wed Mar 16, 2005 12:49 pm |
|
Yes....thank you for those fixes. Both work good now.  |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 921
|
Posted:
Wed Mar 16, 2005 2:42 pm |
|
actually it was intended to be
| Code: |
if ($_FILES['upfile']['name'] != ""){
|
and
| Code: |
if ($_FILES['upfile2']['name'] != ""){
|
but either way will work |
| |
|
|
 |
Dameon

Joined: Mar 14, 2005
Posts: 10
Location: Ohio
|
Posted:
Wed Mar 16, 2005 4:12 pm |
|
|
|
 |
Guest

|
Posted:
Sun Jun 26, 2005 12:01 pm |
|
| 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


Joined: Oct 25, 2004
Posts: 921
|
Posted:
Sun Jun 26, 2005 9:15 pm |
|
sorry, the filesize only works for files stored on your server. |
| |
|
|
 |
|
|