Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

PowerWeb 3.3

Newbie Spellweaver
Joined
Oct 28, 2010
Messages
18
Reaction score
3
All work requires php 5.3.29





Demo
log: rulex
pass:12345

 

Attachments

You must be registered for see attachments list
Last edited:
Newbie Spellweaver
Joined
May 29, 2013
Messages
70
Reaction score
5
I do not know why but I was not 3.0 we goes fine.


More photos.

mod_rewrite is active.



 
Newbie Spellweaver
Joined
May 29, 2013
Messages
70
Reaction score
5
I'm sorry I used the wrong version.


We had web works.



 
Newbie Spellweaver
Joined
May 29, 2013
Messages
70
Reaction score
5
A new problem when I go to the login shows the error symlink () [<a href='function.symlink'> function.symlink </a>]: Can not create symlink error code (1314) more picture. :

program xampp php version 5.3.29 = windows

thanks for help
 
Banned
Banned
Joined
Jun 9, 2015
Messages
15
Reaction score
3
I do not think there is a problem in Yii PHP Framework is rather a problem of symlink

1. set forceCopy property to true: $forceCopy=true;
if you receive a warning "The "forceCopy" and "linkAssets" cannot be both true."
2. go to publish function
3. comment this line
//if($forceCopy && $this->linkAssets)
//throw new CException(Yii::t('yii','The "forceCopy" and "linkAssets" cannot be both true.'));
4. then add $this->linkAssets = true; on the topmost part of publish function
 
Newbie Spellweaver
Joined
May 29, 2013
Messages
70
Reaction score
5
Chow Thanks for the tutorial but it would make a video - photo.
php just getting started with that yet do not understand :(

I did almost everything as instructed but still same error

Code:
public function publish($path,$hashByName=false,$level=-1,$forceCopy=null)    {
        $this->linkAssets = true;
        $forceCopy=true;
        if($forceCopy===null)
            $forceCopy=$this->forceCopy;
         //if($forceCopy && $this->linkAssets)
         //throw new CException(Yii::t('yii','The "forceCopy" and "linkAssets" cannot be both true.'));
        if(isset($this->_published[$path]))
            return $this->_published[$path];
        elseif(is_string($path) && ($src=realpath($path))!==false)
        {
            $dir=$this->generatePath($src,$hashByName);
            $dstDir=$this->getBasePath().DIRECTORY_SEPARATOR.$dir;
            if(is_file($src))
            {
                $fileName=basename($src);
                $dstFile=$dstDir.DIRECTORY_SEPARATOR.$fileName;


                if(!is_dir($dstDir))
                {
                    mkdir($dstDir,$this->newDirMode,true);
                    [USER=2000098825]chmod[/USER]($dstDir,$this->newDirMode);
                }


                if($this->linkAssets && !is_file($dstFile)) symlink($src,$dstFile);
                elseif(@filemtime($dstFile)<@filemtime($src))
                {
                    copy($src,$dstFile);
                    [USER=2000098825]chmod[/USER]($dstFile,$this->newFileMode);
                }


                return $this->_published[$path]=$this->getBaseUrl()."/$dir/$fileName";
            }
            elseif(is_dir($src))
            {
                if($this->linkAssets && !is_dir($dstDir))
                {
                    
                    symlink($src,$dstDir);
                    
                }
                elseif(!is_dir($dstDir) || $forceCopy)
                {
                    CFileHelper::copyDirectory($src,$dstDir,array(
                        'exclude'=>$this->excludeFiles,
                        'level'=>$level,
                        'newDirMode'=>$this->newDirMode,
                        'newFileMode'=>$this->newFileMode,
                    ));
                }


                return $this->_published[$path]=$this->getBaseUrl().'/'.$dir;
            }
        }
        throw new CException(Yii::t('yii','The asset "{asset}" to be published does not exist.',
            array('{asset}'=>$path)));
    }
 
Last edited:
Newbie Spellweaver
Joined
May 29, 2013
Messages
70
Reaction score
5
1. set forceCopy property to true: $forceCopy=true;
if you receive a warning "The "forceCopy" and "linkAssets" cannot be both true."
2. go to publish function
3. comment this line
//if($forceCopy && $this->linkAssets)
//throw new CException(Yii::t('yii','The "forceCopy" and "linkAssets" cannot be both true.'));
4. then add $this->linkAssets = true; on the topmost part of publish function

Thank you very much for instructions we had everything goes as registration and login Thank you so much for your help.
 
Put Community First
Loyal Member
Joined
Oct 2, 2014
Messages
1,114
Reaction score
833
Does anyone know the actual benefits of using this over the English 3.0 version I translated? What was updated or added?
 
Newbie Spellweaver
Joined
May 29, 2013
Messages
70
Reaction score
5
Holy massive-Russian-needing-translation-change-log. I'll read that tomorrow I think when my brain is better functioning. Thanks for sharing the link, :).

np....

It does not mention it because my english is not good rather than to send it to Translated. :DDDDD
 
Junior Spellweaver
Joined
May 13, 2007
Messages
152
Reaction score
6
:$: Error, how can i fix it?
Безымянный - PowerWeb 3.3 - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Junior Spellweaver
Joined
May 13, 2007
Messages
152
Reaction score
6
PHP 5.5.27
XAMPP run as administrator
mod_rewrite is enable
in config i only change db name, pass,login, url
 
Back
Top