Git Product home page Git Product logo

Comments (9)

tschallacka avatar tschallacka commented on May 30, 2024

After some hacking and swearing at iis

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
 <rewrite>
    <rules>
        <rule name="redirect all requests" stopProcessing="true">
        <match url="^(.*)$" ignoreCase="false" />
        <conditions logicalGrouping="MatchAll">
            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" pattern="" ignoreCase="false" />
        </conditions>
        <action type="Rewrite" url="index.php" appendQueryString="true" />
        </rule>
    </rules>
    </rewrite>
    </system.webServer>
</configuration>

from install.

tschallacka avatar tschallacka commented on May 30, 2024

In \modules\backend\widgets\Lists.php on line 429

            $joinSql = $this->isColumnRelated($column, true)
                ? /*DbDongle::raw("group_concat(" . $sqlSelect . " separator ', ')")*/DbDongle::raw("" . $sqlSelect . " + ', '")
                : DbDongle::raw($sqlSelect);

from install.

tschallacka avatar tschallacka commented on May 30, 2024

\vendor\october\rain\src\Database\Dongle.php 145

if(this->driver === 'sqlsrv') {
return str_ireplace('isnull(', 'coalesce(', $sql);
}

from install.

tschallacka avatar tschallacka commented on May 30, 2024

\vendor\october\rain\src\Databse\Relations\DeferOneOrmany.php

->whereRaw(DbDongle::parse('id > isnull((select max(id) from '.DbDongle::getTablePrefix().'deferred_bindings where

ifnull doesn't exist in sqlserver, isnull does.

Also, why not use the check from Dongle here?

from install.

tschallacka avatar tschallacka commented on May 30, 2024

\vender\october\rain\src\Database\Relations\DeferOneOrMany.php

line 40

$query->select('*')->from('deferred_bindings')

Line 51

$query->select('*')->from('deferred_bindings')

from install.

tschallacka avatar tschallacka commented on May 30, 2024

in MediaManager.php line 978

$realpath = (empty(trim($uploadedFile->getRealPath())) ? $uploadedFile->getPath().''.$uploadedFile->getFileName() : $uploadedFile->getRealPath());
File::get($realpath)

For some reason getRealPath returns false, but patching up the string like this works fine.

from install.

tschallacka avatar tschallacka commented on May 30, 2024

File.php in \vendor\october\rain\src\Database\Attach\File.php

Line 86
$realpath = (empty(trim($uploadedFile->getRealPath())) ? $uploadedFile->getPath().''.$uploadedFile->getFileName() : $uploadedFile->getRealPath());
$this->putFile($realpath, $this->disk_name);

Line 106
$realpath = (empty(trim($uploadedFile->getRealPath())) ? $uploadedFile->getPath().''.$uploadedFile->getFileName() : $uploadedFile->getRealPath());
$this->putFile($realpath, $this->disk_name);

from install.

tschallacka avatar tschallacka commented on May 30, 2024

When the installer calls the actual config for connecting to the server with the laravel install, it has inserted the port into the configuration file, even if you left this empty in the setup.

but when you make this field empty in the config the connection string is invalid because of the surplus ,

I patched it by adding

 $dsn = str_replace('SQLEXPRESS,;','SQLEXPRESS;',$dsn);

in /vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php on line 47

less than ideal, but it works.

from install.

daftspunk avatar daftspunk commented on May 30, 2024

If this is still an issue, please log it in the main October repo.

from install.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.