Yii Framework Forum: Upload On Hosting - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Upload On Hosting Rate Topic: -----

#1 User is offline   gdang 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 37
  • Joined: 20-August 11
  • Location:Venice

Posted 09 November 2012 - 08:23 AM

Hi, I have a little question to ask: how do you upload your project on the web server?

Normally upload all the framework take some minutes, and I tried to zip everything and unzip later via php with

site.zip -> project

unzipper.php
<?php
$zip = new ZipArchive;     
    $res = $zip->open('site.zip');
    if ($res === TRUE) {
	 $zip->extractTo('./');
	 $zip->close();
	 echo 'Unzip was successful';
	 } else {
	 echo 'Unzip was not successful';
}
?>


The problem is that on local machine it works but on the web server gives problems (can't open the file), someone uses different solutions?
I'm beautiful and I dance well!
0

#2 User is offline   luc 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 211
  • Joined: 22-June 10
  • Location:france

Posted 11 November 2012 - 05:44 PM

Hi, this seems to be a specific hosting problem that has nothing related to Yii
Hey Ho !
Let's go !
0

#3 User is offline   KonApaz 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,312
  • Joined: 21-February 11
  • Location:Greece

Posted 12 November 2012 - 10:15 AM

Check permissions files system on your server.

Try to open a file with native php code to see if it works
Yii is the best php framework in the world!
find our demo Yii extension on www.webkit.gr
Is it post useful? please v++ ;)
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users