Coder Social home page Coder Social logo

Comments (5)

WebShells avatar WebShells commented on June 23, 2024

Please check if $baseurl in App.php and htaccess are pointing to OSPOS directory, i didnt face CI4 view page during installation although some issues popped up and they are already fixed.
After running composer you should run npm install & npm run build to link css files not to have broken layout.
If you have additional info related to the issue you are facing will be helpfull.

from opensourcepos.

andriux1990 avatar andriux1990 commented on June 23, 2024

@WebShells thanks.
Baseurl ready created: public string $baseURL = 'http://localhost/ci4/public/';

and .htaccess as well:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# if in web root
RewriteRule ^(.*)$ index.php?/$1 [L]

But I'm getting this message when running npm run:
Scripts available in [email protected] via npm run-script:
build
gulp default
gulp
gulp

from opensourcepos.

andriux1990 avatar andriux1990 commented on June 23, 2024

"php spark serve" starts a local development server and provides you with a URL. It works for CodeIgniter 4, but with OSPOS CI4, I get the error message:

Whoops!

We seem to have hit a snag. Please try again later...

from opensourcepos.

andriux1990 avatar andriux1990 commented on June 23, 2024

Done, I got it working. You also need to put the credentials in .env at the root directory.

from opensourcepos.

WebShells avatar WebShells commented on June 23, 2024

Done, I got it working. You also need to put the credentials in .env at the root directory.

I thought you've set it already, great it worked!

from opensourcepos.

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.