Giter VIP home page Giter VIP logo

Comments (15)

HansSchouten avatar HansSchouten commented on August 21, 2024

So your website's root directory is called PHPageBuilder. In that directory you do have unzipped the latest release in a folder called phpagebuilder? Can you double check that the path /var/www/html/PHPageBuilder/phpagebuilder/src/Core/helpers.php exists. Unfortunately I cannot think of a reason why this require_once could fail.

from phpagebuilder.

aermike avatar aermike commented on August 21, 2024

Hi
My mistake
It was PHPageBuilder with all in
Now modifyng with your instructions
Now appear "Page not found"
Image attach
phpagebuilder

from phpagebuilder.

HansSchouten avatar HansSchouten commented on August 21, 2024

That is because there is not yet a homepage created (with the route: /). You should be able to login via /admin and create a page. I agree the warning is still a bit vague, I will add a default welcome page soon.

from phpagebuilder.

aermike avatar aermike commented on August 21, 2024

Thank You
I do something wrong, and I don't know what
phpagebuilder1

from phpagebuilder.

HansSchouten avatar HansSchouten commented on August 21, 2024

The browser now requests the admin page in a folder called index.php. Index.php should never be part of any URL. Your URL should just be the install directory followed by /admin.

from phpagebuilder.

aermike avatar aermike commented on August 21, 2024

phpagebuilder2

from phpagebuilder.

HansSchouten avatar HansSchouten commented on August 21, 2024

And /PHPageBuilder is still returning the correct "Page not found" message? If not, it only seems to work if you add index.php in the URL, which is not what we want. In that case it could be a .htaccess related problem.

from phpagebuilder.

HansSchouten avatar HansSchouten commented on August 21, 2024

phpagebuilder

Here it is already strange that index.php is in the URL.

from phpagebuilder.

aermike avatar aermike commented on August 21, 2024

Thanks for help
And /PHPageBuilder is still returning the correct "Page not found" message?
Yes
And for
http://ip/PHPageBuilder/admin have error with "Page Not found"
phpagebuilder3
Any way, I don't see anything about 'admin' in this tree....maybe I was wrong (I don't know PHP, but if I have something like:
http://ip/PHPageBuilder/admin, I think maybe I need an folder named admin.
I don't see in git, to PHPageBuilder or biolerplate something about admin

from phpagebuilder.

aermike avatar aermike commented on August 21, 2024

..and tree...:) sorry
phpagebuilder4

from phpagebuilder.

HansSchouten avatar HansSchouten commented on August 21, 2024

I think maybe I need an folder named admin

No, the .htaccess file will forward all requests to index.php, which loads the pagebuilder package and the pagebuilder package parses the original URL to show the correct page. This gives cleaner project structure and URLs (no additional folders needed).

phpagebuilder

Do you have the file .htaccess?

from phpagebuilder.

aermike avatar aermike commented on August 21, 2024

Yes
Is unchanged from git
phpagebuilder5

from phpagebuilder.

HansSchouten avatar HansSchouten commented on August 21, 2024

I see it is not the latest version, I recently fixed a bug causing issues when using a subfolder (like you are using right now). The RewriteBase / should be removed.

And btw, when using the boilerplate, the .htaccess and config.php should be in your website's base directory. In your case in the PHPageBuilder folder. The folder of the downloaded pagebuilder itself does not need any modifications. I will clarify this in the readme.

from phpagebuilder.

aermike avatar aermike commented on August 21, 2024

In latest version, I don't see any .htaccess
An error with appear again

When try to acces PHPageBuilder got this error

Warning: require_once(/var/www/html/PHPageBuilder/phpagebuilder/src/Core/helpers.php): failed to open stream: No such file or directory in /var/www/html/PHPageBuilder/index.php on line 10

Fatal error: require_once(): Failed opening required '/var/www/html/PHPageBuilder/phpagebuilder/src/Core/helpers.php' (include_path='.:/usr/share/php') in /var/www/html/PHPageBuilder/index.php on line 10

I have an vm, and an propeso to you if you are agree:
Take an snapshot and after that on clean install make step by step install , and you notice any steps and any erors with resolvation in some readme(I will help on that too)
And see if ends with and resultat
Are you agree?

from phpagebuilder.

HansSchouten avatar HansSchouten commented on August 21, 2024

This is the .htaccess file I mean: https://github.com/HansSchouten/PHPagebuilder-boilerplate/blob/master/.htaccess. I suggest you to use the latest version of the boilerplate to get the following project structure:
afbeelding

The downloaded version of PHPageBuilder should not be modified and just be added to a folder called phpagebuilder.

from phpagebuilder.

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.