Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Very newb starting out issues

Started by organdy 8 years ago · 8 replies · 1187 views
8 years ago

Hi,

So I am testing out Grav for first time, using XAMPP on windows.
Id like to build a website on localhost without hosting and having it live.
How can I upload a grav theme or skeleton package.
currently it came with Quark, but Id like to being with something with more than 1or2 pages.
When I try to upload a new skeleton in grav it says, Install Package via Direct ZIP Upload 'Exceeded PHP configuration file size limit"
please help
thanks
I was somewhat familiar with joomla and using a rocketheme template, I am looking for a similar set-up where I can modify a template.

8 years ago

Try increasing the upload_max_filesize to 50M.
C:\xampp\php\php.ini and search for line 'upload_max_filesize'.

8 years ago

Most plugins and themes come with a (mostly boilerplate) set of options for installing in their README files. All of them can be done locally without requiring you make your site "live".

From memory, you can:

  • download (or git clone) and unzip any theme into the user/themes folder, or plugin into the user/plugins folder
  • install through the plugin or theme sections of Grav's Admin dashboard using buttons
  • use the devtools command line plugin.

Any of those will work around the PHP limits and are all arguably simpler once you set them up.

last edited 04/09/18 by Hugh Barnes
8 years ago

Thanks I have now increased the size.

8 years ago

I cannot now access the Grav Admin Dashboard to upload...
I type into my browser: localhost/grav-admin
However, the Quark Page comes up not the login/grav admin.
I have C:\xampp\htdocs\grav-admin
Do I have to type in something else in the browser or do I have the file locations in the wrong place?

thanks for the reply!

8 years ago

How about ‘localhost/admin’

8 years ago

I got it to work with localhost/grav-admin/admin
thanks for the tip!
however
I cannot access the admin for a skeleton
ive tried:
localhost/grav-skeleton-onepage-site/admin
localhost/grav-skeleton-onepage-site/grav-admin
localhost/grav-skeleton-onepage-site/grav-admin/admin

any thoughts?

all three not working....

8 years ago

The first attempt should work as long as your site homepage is reachable at localhost/grav-skeleton-onepage-site.

Looking at that skeleton, it doesn't include the admin plugin, so I think you need to install it. The simplest way to do that would be to copy the user/plugins/admin folder from your grav-admin site to user/plugins there.

Admin is not part of core and many skeletons will leave it out.

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 4 days ago
2 76 8 hours ago
General · by pamtbaau, 13 hours ago
1 47 12 hours ago
General · by Andy Miller, 1 day ago
0 44 1 day ago
General · by Marcel, 12 months ago
6 346 5 days ago
General · by Duc , 5 days ago
3 40 5 days ago