PowerWeb 3.3

Page 1 of 3 123 LastLast
Results 1 to 15 of 32
  1. #1
    Apprentice RuLex1 is offline
    MemberRank
    Oct 2010 Join Date
    21Posts

    PowerWeb 3.3

    All work requires php 5.3.29



    https://mega.co.nz/#!s8BS0CJT!oDNOl-...Uk0PqdH4ig7tEU

    Demo
    log: rulex
    pass:12345

    Demo
    Attached Thumbnails Attached Thumbnails desktop_150723_1353.jpg  
    Last edited by RuLex1; 23-07-15 at 04:22 PM.


  2. #2
    "(still lacks brains)" NoBrain is offline
    MemberRank
    Sep 2011 Join Date
    United KingdomLocation
    2,658Posts

    Re: PowerWeb 3.3

    Please provide a screenshot of this working, and/or code preview, within 24 hours or this thread will be deleted.

  3. #3
    Member krokody is offline
    MemberRank
    May 2013 Join Date
    Czech RepublicLocation
    71Posts

    Re: PowerWeb 3.3

    I do not know why but I was not 3.0 we goes fine.


    More photos.

    mod_rewrite is active.

    https://translate.google.com

    http://i.imgur.com/Hlnlw11.png

  4. #4
    Apprentice RuLex1 is offline
    MemberRank
    Oct 2010 Join Date
    21Posts

    Re: PowerWeb 3.3

    some php are you using?
    Demo
    log: rulex
    pass:12345

    Demo
    Last edited by RuLex1; 23-07-15 at 04:26 PM.

  5. #5
    Member krokody is offline
    MemberRank
    May 2013 Join Date
    Czech RepublicLocation
    71Posts

    Re: PowerWeb 3.3

    I'm sorry I used the wrong version.


    We had web works.

    https://translate.google.com

    http://i.imgur.com/4FkvST1.jpg

  6. #6
    Apprentice RuLex1 is offline
    MemberRank
    Oct 2010 Join Date
    21Posts

    Re: PowerWeb 3.3

    nice =)

  7. #7
    Member krokody is offline
    MemberRank
    May 2013 Join Date
    Czech RepublicLocation
    71Posts

    Re: PowerWeb 3.3

    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. : http://i.imgur.com/OaLm9Dd.png

    program xampp php version 5.3.29 = windows

    thanks for help

  8. #8
    Apprentice RuLex1 is offline
    MemberRank
    Oct 2010 Join Date
    21Posts

  9. #9
    Member krokody is offline
    MemberRank
    May 2013 Join Date
    Czech RepublicLocation
    71Posts

    Re: PowerWeb 3.3

    I do not think there is a problem in Yii PHP Framework is rather a problem of symlink

  10. #10
    Banned Lamerz is offline
    BannedRank
    Jun 2015 Join Date
    にのゑのんLocation
    17Posts

    Re: PowerWeb 3.3

    Quote Originally Posted by krokody View Post
    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

  11. #11
    Member krokody is offline
    MemberRank
    May 2013 Join Date
    Czech RepublicLocation
    71Posts

    Re: PowerWeb 3.3

    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);
                        @chmod($dstDir,$this->newDirMode);
                    }
    
    
                    if($this->linkAssets && !is_file($dstFile)) symlink($src,$dstFile);
                    elseif(@filemtime($dstFile)<@filemtime($src))
                    {
                        copy($src,$dstFile);
                        @chmod($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 by krokody; 24-07-15 at 01:50 AM.

  12. #12
    Member krokody is offline
    MemberRank
    May 2013 Join Date
    Czech RepublicLocation
    71Posts

    Re: PowerWeb 3.3

    Quote Originally Posted by Lamerz View Post
    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.

  13. #13
    Put Community First fallenfate is offline
    MemberRank
    Oct 2014 Join Date
    Arad DomanLocation
    1,108Posts

    Re: PowerWeb 3.3

    Does anyone know the actual benefits of using this over the English 3.0 version I translated? What was updated or added?

  14. #14
    Member krokody is offline
    MemberRank
    May 2013 Join Date
    Czech RepublicLocation
    71Posts

    Re: PowerWeb 3.3

    Quote Originally Posted by fallenfate View Post
    Does anyone know the actual benefits of using this over the English 3.0 version I translated? What was updated or added?

    read... http://makeserv.net/topic/9109-spisok-izmenenii/

  15. #15
    Put Community First fallenfate is offline
    MemberRank
    Oct 2014 Join Date
    Arad DomanLocation
    1,108Posts

    Re: PowerWeb 3.3

    Quote Originally Posted by krokody View Post
    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, :).



Page 1 of 3 123 LastLast

Advertisement