download problem

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
babamjan
Posts: 36
Joined: Sat 7. Aug 2004, 15:13

download problem

Post by babamjan »

i cnahged my host and when i whant setup my script in new host every thing is good but when i whant download config.php file at the end of setup progress i cant and dont download anything also when i edited config.inc.php manualy and upload it every thing is ok but i cant download any file from site ?
see here:
http://www.dadhor.ir/index.php?id=1,20,0,0,1,0
in this page any pdf file dont download correctly
i check file Permissions and they are correct
i dont now what happen
please help me
Pappnase

Post by Pappnase »

hello

i test one pdf file for download and it works! :-)
babamjan
Posts: 36
Joined: Sat 7. Aug 2004, 15:13

Post by babamjan »

no
the downloadded file size is 0byte for me
please check file size are yor downloaded file sitze is correct?
i wait for your replay
thanks
Pappnase

Post by Pappnase »

hello

i test i again. you're right it won't work.
my reader show the message that the file is broken!
babamjan
Posts: 36
Joined: Sat 7. Aug 2004, 15:13

Post by babamjan »

also at the end of setup progress i cant download confic.inc.php via script
and i edit confic.inc.php manualy and upload this file via ftp client
in my new hosting safe_mode = On in php config
mabe problem is for this config?
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

hi

so try to turn the save_mode Off with a file named php.ini with this content

Code: Select all

save_mode = off
in the /root Path.
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
babamjan
Posts: 36
Joined: Sat 7. Aug 2004, 15:13

Post by babamjan »

so try to turn the save_mode Off with a file named php.ini with this content


Code:
save_mode = off


in the /root Path.
i dont access to php.ini file
my hosting dont premit this
Pappnase

Post by Pappnase »

hello

then do it via htaccess ;-)
babamjan
Posts: 36
Joined: Sat 7. Aug 2004, 15:13

Post by babamjan »

hello

then do it via htaccess
how can i do this what is this command syntax
thanks for your help
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

store the php.ini in your root path - where you have installed phpwcms - not the root of the Server
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
babamjan
Posts: 36
Joined: Sat 7. Aug 2004, 15:13

Post by babamjan »

Hi

store the php.ini in your root path - where you have installed phpwcms - not the root of the Server
this file dosnot exist in my home directory
are you mind myself make anoder php.ini file and then upload it to my home directory?
babamjan
Posts: 36
Joined: Sat 7. Aug 2004, 15:13

Post by babamjan »

when i use direct link to file for download all thing is fine and file download is correct for simple this:
http://www.dadhor.ir/phpwcms_filestorage/1/1_10.pdf
but when i use phpwcms the download isnt correct

:( :(
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

this file dosnot exist in my home directory
are you mind myself make anoder php.ini file and then upload it to my home directory?
yes!
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
babamjan
Posts: 36
Joined: Sat 7. Aug 2004, 15:13

Post by babamjan »

pico wrote:
this file dosnot exist in my home directory
are you mind myself make anoder php.ini file and then upload it to my home directory?
yes!
i do this but noting changed and the problem are there
my host run redhat linux an i think this os are not compatible with php.ini file for config
Post Reply