Jump to content

Can't get Starter Theme to work


Fadlan

Recommended Posts

Hi, I have problems with getting Starter Theme to work.

Β 

After setting the config file and setting it in Admin Dashboard as theme it only shows white screen withouth code.

Β 

I'm working on Ubuntu 16.04 and I found I need to type in this in terminal:

$ cd _dev && npm install

But it gives me this error:

cd _dev && sudo npm install
npm WARN prefer global [email protected] should be installed with -g

> [email protected] install /var/www/html/prestas/themes/lunaris/_dev/node_modules/node-sass
> node scripts/install.js

sh: 1: node: not found
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm ERR! Linux 4.4.0-47-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! [email protected] install: `node scripts/install.js`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node scripts/install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node scripts/install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls node-sass
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /var/www/html/prestas/themes/lunaris/_dev/npm-debug.log

I'm trying to get it to work, but to no avail and need dire help please.

Β 

This is my npm-debug.log

https://justpaste.it/10xww

Sorry for long stuff, but can't get it to upload.

Β 

Link to comment
Share on other sites

Okay I installed node 6.

Β 

And then got this stuff:

npm WARN prefer global [email protected] should be installed with -g

> [email protected] install /var/www/html/prestas/themes/lunaris/_dev/node_modules/node-sass
> node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v3.13.0/linux-x64-48_binding.node
Download complete  ] - :
Binary saved to /var/www/html/prestas/themes/lunaris/_dev/node_modules/node-sass/vendor/linux-x64-48/binding.node
Caching binary to /home/adam/.npm/node-sass/3.13.0/linux-x64-48_binding.node

> [email protected] postinstall /var/www/html/prestas/themes/lunaris/_dev/node_modules/node-sass
> node scripts/build.js

Binary found at /var/www/html/prestas/themes/lunaris/_dev/node_modules/node-sass/vendor/linux-x64-48/binding.node
Testing binary
Binary is fine
[email protected] /var/www/html/prestas/themes/lunaris/_dev
└─┬ [email protected] 
  β”œβ”€β”€ [email protected] 
  β”œβ”€β”¬ [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”‚ └── [email protected] 
  β”‚ └─┬ [email protected] 
  β”‚   └── [email protected] 
  β”œβ”€β”¬ [email protected] 
  β”‚ └─┬ [email protected] 
  β”‚   └── [email protected] 
  β”œβ”€β”€ [email protected] 
  β”œβ”€β”€ [email protected] 
  β”œβ”€β”€ [email protected] 
  β”œβ”€β”€ [email protected] 
  β”œβ”€β”€ [email protected] 
  β”œβ”€β”¬ [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ └── [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ β”‚ └── [email protected] 
  β”‚ β”‚ └── [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ β”‚ └── [email protected] 
  β”‚ β”‚ └─┬ [email protected] 
  β”‚ β”‚   β”œβ”€β”¬ [email protected] 
  β”‚ β”‚   β”‚ └── [email protected] 
  β”‚ β”‚   └── [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ └─┬ [email protected] 
  β”‚ β”‚   β”œβ”€β”¬ [email protected] 
  β”‚ β”‚   β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚   β”‚ β”‚ └─┬ [email protected] 
  β”‚ β”‚   β”‚ β”‚   └── [email protected] 
  β”‚ β”‚   β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”‚   β”‚ └─┬ [email protected] 
  β”‚ β”‚   β”‚   └── [email protected] 
  β”‚ β”‚   └── [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”‚ └── [email protected] 
  β”‚ └── [email protected] 
  β”œβ”€β”€ [email protected] 
  β”œβ”€β”¬ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ └── [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ └── [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ └── [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ └─┬ [email protected] 
  β”‚   └── [email protected] 
  β”œβ”€β”¬ [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ └── [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”‚ β”‚ └── [email protected] 
  β”‚ β”‚ └── [email protected] 
  β”‚ └── [email protected] 
  β”œβ”€β”¬ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ └── [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ └── [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ β”‚ └── [email protected] 
  β”‚ β”‚ └─┬ [email protected] 
  β”‚ β”‚   β”œβ”€β”€ [email protected] 
  β”‚ β”‚   β”œβ”€β”¬ [email protected] 
  β”‚ β”‚   β”‚ └── [email protected] 
  β”‚ β”‚   β”œβ”€β”€ [email protected] 
  β”‚ β”‚   └── [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”‚ └── [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”‚ β”‚ └── [email protected] 
  β”‚ β”‚ └─┬ [email protected] 
  β”‚ β”‚   β”œβ”€β”€ [email protected] 
  β”‚ β”‚   β”œβ”€β”€ [email protected] 
  β”‚ β”‚   β”œβ”€β”€ [email protected] 
  β”‚ β”‚   β”œβ”€β”¬ [email protected] 
  β”‚ β”‚   β”‚ └── [email protected] 
  β”‚ β”‚   β”œβ”€β”€ [email protected] 
  β”‚ β”‚   β”œβ”€β”¬ [email protected] 
  β”‚ β”‚   β”‚ └── [email protected] 
  β”‚ β”‚   β”œβ”€β”€ [email protected] 
  β”‚ β”‚   β”œβ”€β”€ [email protected] 
  β”‚ β”‚   └── [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ └── [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ └── [email protected] 
  └─┬ [email protected] 
    └─┬ [email protected] 
      β”œβ”€β”¬ [email protected] 
      β”‚ └── [email protected] 
      β”œβ”€β”€ [email protected] 
      β”œβ”€β”¬ [email protected] 
      β”‚ └─┬ [email protected] 
      β”‚   └── [email protected] 
      β”œβ”€β”€ [email protected] 
      β”œβ”€β”€ [email protected] 
      β”œβ”€β”€ [email protected] 
      β”œβ”€β”€ [email protected] 
      β”œβ”€β”€ [email protected] 
      └─┬ [email protected] 
        └── [email protected] 

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

So I guess it was ok???

Β 

Β 

Β 

But still my theme is nothing, no single line of code appears, but basic theme works no problem. I don't have prestashop installed in the main folder of /var/www/html is that a problem with routing or something?

Β 

Please I need help. It's my first try at doing something in linux and it makes my head hurt how something as simple as new theme would be such a hussle.

Β 

Maybe I should try something else not ubuntu? What linux distribution is recomended for working with prestashop?

Link to comment
Share on other sites

Okay I installed node 6.

Β 

And then got this stuff:

npm WARN prefer global [email protected] should be installed with -g

> [email protected] install /var/www/html/prestas/themes/lunaris/_dev/node_modules/node-sass
> node scripts/install.js

So IΒ  try something else not ubuntu? What linux distribution is recomended for working with prestashop?

Β 

Using Ubuntu is fine.

Β 

Why are you using such complex commands? It's simpler:

npm install  # first time only
npm run build

That's it.

Β 

If you're unsure wether you have all prerequisites installed, run this:

sudo apt-get --no-install-recommends install nodejs npm

Β 

Β Β Β 

Link to comment
Share on other sites

I've removed theme and installed again with your tip.

This is my process of doing it:

adam@adam-VirtualBox:/var/www/html/prestas/themes$ sudo git clone https://github.com/PrestaShop/StarterTheme.git lunaris
Cloning into 'lunaris'...
remote: Counting objects: 4526, done.
remote: Compressing objects: 100% (32/32), done.
remote: Total 4526 (delta 13), reused 0 (delta 0), pack-reused 4494
Receiving objects: 100% (4526/4526), 1.62 MiB | 952.00 KiB/s, done.
Resolving deltas: 100% (2894/2894), done.
Checking connectivity... done.
adam@adam-VirtualBox:/var/www/html/prestas/themes$ ls
classic  core.js  debug.tpl  index.php  javascript.tpl  lunaris
adam@adam-VirtualBox:/var/www/html/prestas/themes$ cd lunaris
adam@adam-VirtualBox:/var/www/html/prestas/themes/lunaris$ ls
assets         config           _dev  modules  preview.png  templates
composer.json  CONTRIBUTING.md  doc   plugins  README.md    travis-scripts
adam@adam-VirtualBox:/var/www/html/prestas/themes/lunaris$ cd config
adam@adam-VirtualBox:/var/www/html/prestas/themes/lunaris/config$ ls
theme.dist.yml
adam@adam-VirtualBox:/var/www/html/prestas/themes/lunaris/config$ sudo code --user-data-dir="~/.vscode-root"
adam@adam-VirtualBox:/var/www/html/prestas/themes/lunaris/config$ cd ..
adam@adam-VirtualBox:/var/www/html/prestas/themes/lunaris$ ls
assets         config           _dev  modules  preview.png  templates
composer.json  CONTRIBUTING.md  doc   plugins  README.md    travis-scripts
adam@adam-VirtualBox:/var/www/html/prestas/themes/lunaris$ ls
assets         config           _dev  modules  preview.png  templates
composer.json  CONTRIBUTING.md  doc   plugins  README.md    travis-scripts
adam@adam-VirtualBox:/var/www/html/prestas/themes/lunaris$ cd _dev
adam@adam-VirtualBox:/var/www/html/prestas/themes/lunaris/_dev$ sudo npm installnpm WARN prefer global [email protected] should be installed with -g

> [email protected] install /var/www/html/prestas/themes/lunaris/_dev/node_modules/node-sass
> node scripts/install.js

Cached binary found at /home/adam/.npm/node-sass/3.13.0/linux-x64-48_binding.node

> [email protected] postinstall /var/www/html/prestas/themes/lunaris/_dev/node_modules/node-sass
> node scripts/build.js

Binary found at /var/www/html/prestas/themes/lunaris/_dev/node_modules/node-sass/vendor/linux-x64-48/binding.node
Testing binary
Binary is fine
[email protected] /var/www/html/prestas/themes/lunaris/_dev
β”œβ”€β”¬ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚ β”‚   └─┬ [email protected] 
β”‚ β”‚ β”‚     └── [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚   └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚   └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ └── [email protected] 
β”œβ”€β”¬ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚   └─┬ [email protected] 
β”‚ β”‚     └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ └── [email protected] 
β”œβ”€β”¬ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚   └─┬ [email protected] 
β”‚ β”‚     └── [email protected] 
β”‚ └── [email protected] 
β”œβ”€β”¬ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚ β”‚   β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚   β”‚ └── [email protected] 
β”‚ β”‚ β”‚   └── [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚ β”‚   β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚   β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚   β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”‚   β”‚ └── [email protected] 
β”‚ β”‚ β”‚   └── [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚ β”‚   └── [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚   └── [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚   β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚   β”‚ └── [email protected] 
β”‚ β”‚ β”‚   └─┬ [email protected] 
β”‚ β”‚ β”‚     └── [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚ β”‚   β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚   β”‚ └── [email protected] 
β”‚ β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚   β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚   β”‚ └── [email protected] 
β”‚ β”‚ β”‚   β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚   β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚   β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”‚   β”‚ └── [email protected] 
β”‚ β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚   └── [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚   β”œβ”€β”¬ [email protected] 
β”‚ β”‚   β”‚ └── [email protected] 
β”‚ β”‚   └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚   └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚   └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ └── [email protected] 
β”œβ”€β”¬ [email protected] 
β”‚ └─┬ [email protected] 
β”‚   └── [email protected] 
β”œβ”€β”€ [email protected] 
β”œβ”€β”¬ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ └── [email protected] 
β”œβ”€β”€ [email protected] 
β”œβ”€β”¬ [email protected] 
β”‚ └── [email protected] 
β”œβ”€β”¬ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ └─┬ [email protected] 
β”‚   └── [email protected] 
β”œβ”€β”€ [email protected] 
β”œβ”€β”¬ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚   └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚   └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚ β”‚   β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚   β”‚ └── [email protected] 
β”‚ β”‚ β”‚   └── [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚ β”‚   β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚   β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚   β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚ β”‚   β”‚ β”‚   └── [email protected] 
β”‚ β”‚ β”‚   β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚   β”‚ └─┬ [email protected] 
β”‚ β”‚ β”‚   β”‚   └── [email protected] 
β”‚ β”‚ β”‚   └── [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚ β”‚   └─┬ [email protected] 
β”‚ β”‚ β”‚     β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚     └─┬ [email protected] 
β”‚ β”‚ β”‚       └── [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚   └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚ β”‚   └── [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚   β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚   β”‚ └── [email protected] 
β”‚ β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚   β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚   β”‚ └── [email protected] 
β”‚ β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚   └── [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ └─┬ [email protected] 
β”‚   └─┬ [email protected] 
β”‚     β”œβ”€β”¬ [email protected] 
β”‚     β”‚ └── [email protected] 
β”‚     β”œβ”€β”€ [email protected] 
β”‚     β”œβ”€β”¬ [email protected] 
β”‚     β”‚ └─┬ [email protected] 
β”‚     β”‚   └── [email protected] 
β”‚     β”œβ”€β”€ [email protected] 
β”‚     β”œβ”€β”€ [email protected] 
β”‚     β”œβ”€β”€ [email protected] 
β”‚     β”œβ”€β”€ [email protected] 
β”‚     β”œβ”€β”€ [email protected] 
β”‚     └─┬ [email protected] 
β”‚       └── [email protected] 
β”œβ”€β”€ [email protected] 
β”œβ”€β”€ [email protected] 
β”œβ”€β”€ [email protected] 
β”œβ”€β”¬ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ └── [email protected] 
β”œβ”€β”¬ [email protected] 
β”‚ └── [email protected] 
└─┬ [email protected] 
  β”œβ”€β”€ [email protected] 
  β”œβ”€β”€ [email protected] 
  β”œβ”€β”¬ [email protected] 
  β”‚ └── [email protected] 
  β”œβ”€β”€ [email protected] 
  β”œβ”€β”¬ [email protected] 
  β”‚ └─┬ [email protected] 
  β”‚   β”œβ”€β”€ [email protected] 
  β”‚   β”œβ”€β”€ [email protected] 
  β”‚   β”œβ”€β”€ [email protected] 
  β”‚   β”œβ”€β”€ [email protected] 
  β”‚   └── [email protected] 
  β”œβ”€β”¬ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ └── [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”‚ └── [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ └── [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”‚ └── [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ └── [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ └── [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ └─┬ [email protected] 
  β”‚ β”‚   └── [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”‚ └── [email protected] 
  β”‚ β”œβ”€β”¬ [email protected] 
  β”‚ β”‚ └── [email protected] 
  β”‚ └─┬ [email protected] 
  β”‚   └── [email protected] 
  β”œβ”€β”¬ [email protected] 
  β”‚ └── [email protected] 
  β”œβ”€β”¬ [email protected] 
  β”‚ └── [email protected] 
  β”œβ”€β”€ [email protected] 
  β”œβ”€β”¬ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ └─┬ [email protected] 
  β”‚   β”œβ”€β”€ [email protected] 
  β”‚   β”œβ”€β”¬ [email protected] 
  β”‚   β”‚ β”œβ”€β”¬ [email protected] 
  β”‚   β”‚ β”‚ β”œβ”€β”¬ [email protected] 
  β”‚   β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
  β”‚   β”‚ β”‚ β”‚ └── [email protected] 
  β”‚   β”‚ β”‚ └── [email protected] 
  β”‚   β”‚ β”œβ”€β”€ [email protected] 
  β”‚   β”‚ └── [email protected] 
  β”‚   └── [email protected] 
  β”œβ”€β”¬ [email protected] 
  β”‚ β”œβ”€β”€ [email protected] 
  β”‚ └─┬ [email protected] 
  β”‚   β”œβ”€β”¬ [email protected] 
  β”‚   β”‚ β”œβ”€β”€ [email protected] 
  β”‚   β”‚ └─┬ [email protected] 
  β”‚   β”‚   β”œβ”€β”¬ [email protected] 
  β”‚   β”‚   β”‚ └── [email protected] 
  β”‚   β”‚   β”œβ”€β”€ [email protected] 
  β”‚   β”‚   β”œβ”€β”¬ [email protected] 
  β”‚   β”‚   β”‚ β”œβ”€β”¬ [email protected] 
  β”‚   β”‚   β”‚ β”‚ └─┬ [email protected] 
  β”‚   β”‚   β”‚ β”‚   β”œβ”€β”€ [email protected] 
  β”‚   β”‚   β”‚ β”‚   β”œβ”€β”€ [email protected] 
  β”‚   β”‚   β”‚ β”‚   └── [email protected] 
  β”‚   β”‚   β”‚ β”œβ”€β”€ [email protected] 
  β”‚   β”‚   β”‚ └── [email protected] 
  β”‚   β”‚   β”œβ”€β”¬ [email protected] 
  β”‚   β”‚   β”‚ └── [email protected] 
  β”‚   β”‚   β”œβ”€β”€ [email protected] 
  β”‚   β”‚   β”œβ”€β”€ [email protected] 
  β”‚   β”‚   β”œβ”€β”¬ [email protected] 
  β”‚   β”‚   β”‚ └── [email protected] 
  β”‚   β”‚   β”œβ”€β”€ [email protected] 
  β”‚   β”‚   β”œβ”€β”¬ [email protected] 
  β”‚   β”‚   β”‚ β”œβ”€β”¬ [email protected] 
  β”‚   β”‚   β”‚ β”‚ └── [email protected] 
  β”‚   β”‚   β”‚ └── [email protected] 
  β”‚   β”‚   β”œβ”€β”¬ [email protected] 
  β”‚   β”‚   β”‚ β”œβ”€β”€ [email protected] 
  β”‚   β”‚   β”‚ └── [email protected] 
  β”‚   β”‚   └─┬ [email protected] 
  β”‚   β”‚     β”œβ”€β”€ [email protected] 
  β”‚   β”‚     └── [email protected] 
  β”‚   β”œβ”€β”€ [email protected] 
  β”‚   β”œβ”€β”€ [email protected] 
  β”‚   β”œβ”€β”¬ [email protected] 
  β”‚   β”‚ └── [email protected] 
  β”‚   β”œβ”€β”¬ [email protected] 
  β”‚   β”‚ └── [email protected] 
  β”‚   └─┬ [email protected] 
  β”‚     └── [email protected] 
  └─┬ [email protected] 
    └── [email protected] 

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
adam@adam-VirtualBox:/var/www/html/prestas/themes/lunaris/_dev$ sudo npm run build

> [email protected] build /var/www/html/prestas/themes/lunaris/_dev
> webpack --progress -p

Hash: bfaaabda94e387837aef887d08b6994aca35854b
Version: webpack 1.13.3
Child
    Hash: bfaaabda94e387837aef
    Version: webpack 1.13.3
    Time: 2243ms
       Asset       Size  Chunks             Chunk Names
    theme.js  250 bytes       0  [emitted]  main
       [0] multi main 28 bytes {0} [built]
        + 1 hidden modules
Child
    Hash: 887d08b6994aca35854b
    Version: webpack 1.13.3
    Time: 2306ms
               Asset       Size  Chunks             Chunk Names
            theme.js  313 bytes       0  [emitted]  main
    ../css/theme.css    16.2 kB       0  [emitted]  main
       [0] multi main 64 bytes {0} [built]
        + 10 hidden modules
    Child extract-text-webpack-plugin:
            + 2 hidden modules
    Child extract-text-webpack-plugin:
            + 2 hidden modules
    Child extract-text-webpack-plugin:
            + 2 hidden modules
    Child extract-text-webpack-plugin:
            + 2 hidden modules
adam@adam-VirtualBox:/var/www/html/prestas/themes/lunaris/_dev$ 

I still get nothing after turning it on the admin panel in ps.

Β 

What I'm doing bad, or what I'm missing? Can anyone tell?

Link to comment
Share on other sites

  • 1 month later...

After battling though the same issues I think i have finally tracked the problem down.

Β 

It is a simple permissions error, Gah.

Β 

To fix your issue all you need to do is change the ownership on your new theme folder to that of your websever.

In Ubuntu you would just do:

Β 

sudo chown www-data:www-data -R ./nameofyourtheme

Β 

from the folder above the theme in ubuntu.

Β 

[security Note: you might want to rain this back in for production]

Β 

Should fix your problem.

Β 

--- Bonus Material ---

Β 

Discovering this led me to another bug which i cannot explain (and wasted about 5 hours of my life):

Β 

The reason you are getting a blank page and not a php error with more info is because prestashop disables the displaying of php errors by default in the defines.inc.php file (in the root config folder).

Β 

In this folder (or by using the back office "advanced parameters > performance") you can set:

Β 

define('_PS_MODE_DEV_', true);

Β 

which should enable the displaying of php errors . However when I set it then load any page, Prestashop fails citing errors such as:


Warning: rename(/tmp/class_index.phpdoEkBC,/var/www/html/prestashop/prestashop_1.7.0.4/app/cache/dev/class_index.php): No such file or directory in /var/www/html/prestashop/prestashop_1.7.0.4/classes/PrestaShopAutoload.php on line 254

Warning: rename(/tmp/class_stub.phpgesFc5,/var/www/html/prestashop/prestashop_1.7.0.4/app/cache/dev/class_stub.php): No such file or directory in /var/www/html/prestashop/prestashop_1.7.0.4/classes/PrestaShopAutoload.php on line 254

Warning: rename(/tmp/namespaced_class_stub.phpXpU0Nx,/var/www/html/prestashop/prestashop_1.7.0.4/app/cache/dev/namespaced_class_stub.php): No such file or directory in /var/www/html/prestashop/prestashop_1.7.0.4/classes/PrestaShopAutoload.php on line 254

Warning: require_once(/var/www/html/prestashop/prestashop_1.7.0.4/app/cache/dev/appParameters.php): failed to open stream: No such file or directory in /var/www/html/prestashop/prestashop_1.7.0.4/config/bootstrap.php on line 86

Fatal error: require_once(): Failed opening required '/var/www/html/prestashop/prestashop_1.7.0.4/app/cache/dev/appParameters.php' (include_path='/var/www/html/prestashop/prestashop_1.7.0.4/vendor/pear/pear_exception:/var/www/html/prestashop/prestashop_1.7.0.4/vendor/pear/console_getopt:/var/www/html/prestashop/prestashop_1.7.0.4/vendor/pear/pear-core-minimal/src:/var/www/html/prestashop/prestashop_1.7.0.4/vendor/pear/archive_tar:.:/usr/share/php') in /var/www/html/prestashop/prestashop_1.7.0.4/config/bootstrap.php on line 86

This looks like another permissions error but I have not been able to work out where. If someone has input on this I would love to hear!

Β 

---

Β 

to get around this and still see errors you can just set

Β 

@ini_set('display_errors', 'on');

Β 

on line 38 of defines.inc.php

Β 

or

Β 

Set the ownership off all files in the prestshop folder to www-data and my user to the group

Β 

sudo chown www-data:myusername -R ./prestashopfolder

Β 

then i set the group permissions to match the users

Β 

sudo chmod -R g=u ./prestashopfolder

Β 

Again not for production but seems to get me into a state i can do some dev work :/

Β 

Anyway hope that helps.

Edited by hygap (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...