Coder Social home page Coder Social logo

Comments (16)

booth-f avatar booth-f commented on August 15, 2024

Basically what I would suggest put the protected folder in the web root directory and put the stuff in the src directory in the subfolder you wish to have the site at.

just make sure to set your .htaccess for them and create assets in whatever directory you put the contents of src into.

from openbay.

iShariefi avatar iShariefi commented on August 15, 2024

Uploaded all the files from "www" to my subdirectory, put all the config files there as well.
Placed "protected" folder in the root directory.
But still getting this error in safari-

"Warning: require_once(/home/user/public_html/openbay/../protected/config/debug.php): failed to open stream: No such file or directory in /home/user/public_html/openlbay/index.php on line 5

Fatal error: require_once(): Failed opening required '/home/user/public_html/openbay/../protected/config/debug.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/openbay/index.php on line 5

Please advice...

from openbay.

booth-f avatar booth-f commented on August 15, 2024

its not finding the config file in the protected folder, make sure that the protected directory is owned by the www-data user and group.

Below I got an example of how my directories are structured for the site.
The red box just is for the directory you have to create, don't mind the forum directory.

example

Basically just make it look like that except something like this in your case with the sub directories

tothis

EDIT: Whoops, when I copied the contents of the www directory to the subdir I got a copy of the subdir folder in there too, just disregard that folder.

Also the config files in the conf folder you don't need, only the .htaccess which mine for it basically reads this in the root directory.

htaccess

from openbay.

iShariefi avatar iShariefi commented on August 15, 2024

what files should I put in the "assets" folder?

from openbay.

booth-f avatar booth-f commented on August 15, 2024

Nothing goes into the assets folder as when you run the installer and it does its thing it will populate it for you.

from openbay.

iShariefi avatar iShariefi commented on August 15, 2024

ok got it.
But stil getting the errors? has it something to do with .htaccess? I didn't edit it. I didn't edit the index.php and installer.php as well. This is how the directory looks in the file manager...
screen shot 2014-12-23 at 8 40 07 am

from openbay.

TalonSoulWhisper avatar TalonSoulWhisper commented on August 15, 2024

iShariefi,
Go into the error_log and possibly post a pic of it, if you could please

from openbay.

iShariefi avatar iShariefi commented on August 15, 2024

screen shot 2014-12-23 at 8 54 14 am

from openbay.

TalonSoulWhisper avatar TalonSoulWhisper commented on August 15, 2024

Try going into your /home/ishuvo/public_html/infernalbay/index.php, and going to line 5, and post a pic of that if possible plz

from openbay.

iShariefi avatar iShariefi commented on August 15, 2024

screen shot 2014-12-23 at 8 59 18 am

from openbay.

iShariefi avatar iShariefi commented on August 15, 2024

so line5 is

require_once (DIR . '/../protected/config/debug.php');

from openbay.

TalonSoulWhisper avatar TalonSoulWhisper commented on August 15, 2024

Uhm, Since i don't have it right in front of me, but try changing the directory of the " (DIR . '/../protected/config/debug.php');
I am working with tranquilitycal on his website, but he might be able to support you since i figured out where the problem possible is. Sorry if i am of no assistance.

from openbay.

iShariefi avatar iShariefi commented on August 15, 2024

It's all right mate, no worries.
Thanks a lot for helping me out..
I'll wait for tranquilitycal then...
Cheers

from openbay.

sibahota059 avatar sibahota059 commented on August 15, 2024

Just Move the Protected Folder inside the public_html (root Directory) , it will work.

from openbay.

iShariefi avatar iShariefi commented on August 15, 2024

Thanks a lot mate.

from openbay.

booth-f avatar booth-f commented on August 15, 2024

Can we mark this as closed? It seems the problem has been resolved.

from openbay.

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.