Code Monkey home page Code Monkey logo

berta's Introduction

berta's People

Contributors

andis-roze avatar andris-silis avatar bez4pieci avatar blackwolfie avatar iegik avatar jbidoret avatar kasparszarinovs avatar marti1125 avatar raphaelbastide avatar sandijs avatar uldisrudzitis avatar vadym-98 avatar vteivans avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

berta's Issues

test

viens, divi, trīs. pārbaude.

Images will not upload (Null)

Hello Berta,

Having trouble with image upload on a dedicated server.
Everything seems to be working fine except when i try to upload images.
Get a 'null' msg through the settings tab, and a red box in the dialog boxes.

Does the website need to be on a dedicated IP for it to work?

Look forward to your reply.

mod_rewrite

Hi !

My host forbids to allow mod_rewrite for .htaccess. What are my options, because I am stuck with 500 errors....

Thanks

Centering Menu

Hi,
I'm using messy-0.4.0 and I'm trying to center a Section Title

.menuItem {
left: 50% !important;
background: black;
}

but I can't make it so the text is centered.... it always aligns to the right

thanks for your help.
M I A M I

Upload successful, but images won't show up in a gallery

One of my galleries is 'stuck' – when I upload more images to it the upload will succeed, but no matter what I do (i tried shuffling around the images, saving the caption, etc) as soon as I reload the page the uploaded images are gone.

I tried erasing the contents of the cache folder, but nothing.

PS Uploading the exact same images to another gallery works just fine.

gallery image upload inconsistency

I am using 000webhost. safe mode is "off".

When uploading images to the gallery, they turn red and dissapear. However, sometimes if I leave the gallery upload area open, then 'sign out', then 'sign in' again - the images are there. Other times, the images never seem to stay put.

This makes upoading images very awkward as sometimes they upload sometimes they don't. I'm trying to build my portfolio site, but so far only test images are there. Here it is:

worksofwork (dot) tk

additional text edits

for image editor:

  • add images and videos, lightbox on/off, large/small image size
  • fullscreen --> enlarge image in lightbox Y/N
  • caption text edit to --> image caption
    settings menu:
  • on arrow --> minimize menu (?)

images uploaded blocked by modsecurity

Hello,

I'm managing a server and noticed that uploads are blocked by our modsecurity firewall (popular and excellent software)

Here is the error:

--f1d2a17b-B--
POST /engine/upload.php?section=untitled55db2db2974ed&entry=2&mediafolder=untitled55db2db2974ed2&session_id=8670jno2603gqir0fuhh75f2o6 HTTP/1.1
Host: www.xxxx.net
User-Agent: Adobe Flash Player 18
Content-Length: 254489
x-flash-version: 18,0,0,232
Accept-Types: text/*
Content-Type: multipart/form-data; boundary=----------gL6ae0cH2ei4Ij5GI3cH2GI3Ij5gL6
Connection: close

--f1d2a17b-F--
HTTP/1.1 412 Precondition Failed
Last-Modified: Thu, 11 Dec 2014 20:23:20 GMT
Accept-Ranges: bytes
Content-Length: 1431
Vary: Accept-Encoding,User-Agent
Cache-Control: public
Connection: close
Content-Type: text/html

--f1d2a17b-H--
Message: Access denied with code 412 (phase 2). Operator EQ matched 0 at REQUEST_HEADERS. [file "/etc/modsecurity/modsecurity_crs_21_protocol_anomalies.conf"] [line "47"] [id "960015"] [rev "2.2.5"] [msg "Request Missing an Accept Header"] [severity "CRITICAL"] [tag "PROTOCOL_VIOLATION/MISSING_HEADER_ACCEPT"] [tag "WASCTC/WASC-21"] [tag "OWASP_TOP_10/A7"] [tag "PCI/6.5.10"]
Action: Intercepted (phase 2)
Stopwatch: 1440429466827192 6000622 (- - -)
Stopwatch2: 1440429466827192 6000622; combined=33958, p1=1092, p2=32740, p3=0, p4=0, p5=126, sr=84, sw=0, l=0, gc=0
Producer: ModSecurity for Apache/2.6.6 (http://www.modsecurity.org/); OWASP_CRS/2.2.5.
Server: Apache/2.2.22 (Debian)

Could you check your upload procedure in order to have it make correct requests.
It's not for my website.
I'm helping you and the berta users to be able to use your software without problem as it looks nice.
I won't remove rules in my modsecurity as it will be bad for our global security.

Good luck

Centering

Hi!

There is any way of centering things along with the background? The issue I have is that I can center the background but when the site it's opened on a wider screen things ( like entries, galleries, images, banners, etc.) still remain on the same position.

Thanks!!

Undefined class name 'i18n'

When I try to install Berta I get the folllowing error when i go to /engine/:
Fatal error: Undefined class name 'i18n' in /httpdocs/2012/INSTALL/includes/first_visit_serverreqs.php on line 68
Any idea what this means?

7.1 makes site unusable

upgraded from latest previous version to 7.1 - site became super-slow, page load times - around 15-30 seconds, sometimes timeout error messages. btw - site is reinispetersons.com

where can I download previous version of berta(like 6.5) to downgrade?

other UI fixes in admin side

  • main settings menu transparent 80%
  • slideshow dropdown (in image gallery) the same height as everywhere (settings)
  • text edit: autoplay gallery (sek)
  • link – input field under the link dropdown instead of caption.
  • tip box hides after 10sek automatically. remove color?

UI fixes

for image editor:

  • center create new entry button

Text Color and size

Is it possible to change color and size of text independently in each entry? For example I want one entry to be 16px size and white and other to be 14px and black.

Thanks!!

wrong encoding

i found this odd thing, that after uploading my local development folder via FTP to my webserver, the response would always be iso-8859-1 instead of utf-8.
That made all the special characters look weird for obvious reasons.

I could fix it by adding

header("Content-Type: text/html; charset=utf-8");

to engine/inc.page.php

caption

gribētos, lai caption rādās arī tam, kas aplūko lapu. pagaidam rādās tikai caur lightbox

Text Width

Hi! Is there any way of assigning different widhts to the text entries? Because for example when I change the width in the template the change applies to all entries and cannot be changed independently.

Thanks!

blank log in page

Hi there ! I just updated to the most recent version of Berta (v. 1.4.1), but when I go to /engine page it appears blank. I've read a previous thread regarding same problem, erased /login.php, but the issue remains.

image size limit

by uploading too large image (7mb), servers runs out of allocated memory and user gets an error..

ErrorException: include(): open_basedir restriction in effect. File(../error/404.php) is not within the allowed p...

https://sentry.froont.com/sentry/berta-backend/issues/7045/

ErrorException: include(): open_basedir restriction in effect. File(../error/404.php) is not within the allowed path(s): (/home/berta/www/anamendes.berta.me:/var/lib/php/berta/upload:/home/berta/includes)
  File "engine/editor/inc.editor.php", line 61, in handleError
    include '../error/404.php';
  File "engine/editor/inc.editor.php", line 61, in include
    include '../error/404.php';
  File "engine/editor/inc.editor.php", line 61, in include_once
    include '../error/404.php';
  File "engine/index.php", line 15, in include
    include_once $ENGINE_ROOT_PATH . 'editor/inc.editor.php';
  File "index.php", line 5
    include 'engine/index.php';

Releases above 0.8.11b not working

Hello,
first, thank you for your effort!

I tried to install versions above 0.8.11b but nothing works, could you help?

I tried locally or online, with a PHP version below 7.2.

Many thanks!

Sam.

error:blank page engine/login.php

I updated berta for the recent version and when i go to the login page, it's completely blank.

I attach here the error.log
error_log.pdf

Anyone can help me to resolve this problem:
[01-Mar-2019 11:56:50] PHP Fatal error: Call to a member function initContent() on a non-object in /home/mezzanin/public_html/jorgegoncalves.org/engine/editor/inc.editor.php on line 57

Image missing in the storage folder creates an error 500.

If there's a problem while uploading an image or if an image is accidentally deleted in the storage folder on the server, the unique answer form berta is an error 500 with no possibility to know from where the bug comes from. It takes a lot of time to find.

gallery caption problem

when you upload a new image, caption field is invisible. close-open and it is fine again..

Suhosin breaks file uploads and logs out

Suhosin with suhosin.session.encrypt enabled makes file uploads to break and log out user.

If Suhosin extension (a rather popular PHP security extension http://suhosin.org/ https://en.wikipedia.org/wiki/Suhosin) is installed and suhosin.session.encrypt option is enabled it is not possible to do file uploads. After file selection the upload progress appears and when upload is finished user is redirected to Berta login form (and file is not added in Berta).

Please add a note about Suhosin (especially enabled suhosin.session.encrypt) to Berta documentation and preferably add warning about suhosin.session.encrypt to Berta engine panel or at least installation screen.

P.S. This issue appeared in version 0.8.10b.

cannot install - unauthorized 401

Hi, after following install guide, trying I'm to login
it logs in successfully, for a quick moment shows the install step 2, and logs out
looking at the requests there is:

Request URL: http://mydomain.com/_api/v1/state/0
Request Method: GET
Status Code: 401 Unauthorized

Request Headers:
Cookie: berta_0_9_2b=a5c202b3c46362677a33b45ea05fa289; token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1Mzc0NjEyNjEsImV4cCI6MTUzNzU0NzY2MX0.3OcT4VomSoVmatX3FXipLjOaoXw9CRzu2-5_Rm4lIHc
Host: mydomain.com
Pragma: no-cache
Referer: http://mydomain.com/engine/?_berta_install_step=2
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
X-Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1Mzc0NjEyNjEsImV4cCI6MTUzNzU0NzY2MX0.3OcT4VomSoVmatX3FXipLjOaoXw9CRzu2-5_Rm4lIHc

Response Headers:
Set-Cookie: token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/

any ideas what could be wrong?
as much as I understand - the engine does login, but the api fails to authenticate...

Hide / Show Menu on Section pages

Hi Berta-Team,

I've been trying to figure out how to hide (some) of the Menu on Section pages but unfortunately i couldn't resolve the problem.
I've seen users who have done it with their websites like that.

Here's my website: http://eveykwong.com/
and when i go to one of my sections here: http://eveykwong.com/engine/?section=od-theater , the menus appear. I would like only that my Contents of the Section appear.

I disabled the "Show menu in first section?", but may i know how i can disable it from appearing on some Sections?
I have some Sections "Home", "Index", and "About" that i would like to customise that it appears on all Sections & the main page. How do i do that?

Please help, thanks!

Permanent entries within sections

How can I create entries that stay the same in every section? Is that possible or I have to replicate the entry as many times as sections I have? Thanks!

file ownership issue (line 246)

if bwerta is copied to another server (different owner) problem of permissions occurs... in line 246 it tries to change permissions of thumbnails but can not... should be fixed (if owner then do it if not, then not).. if(file_exists($thumbPath)) chmod($thumbPath, 0666);

Support for PHP 7.2.19?

Not an issue per se, but Is there a particular reason anything above 7.2.0 is not supported?

Perhaps I should change a particular file in my local version to support 7.2.19, which is what I have on my server?

Translations

Angliski:
Thank you for choosing Berta!
Berta is not installed.

Please log in and follow the install procedure.

Setup your site
Click on the fields with yellow background to edit them. Then press Enter or click anywhere outside the field to save. This way it will be throughout your site — all that has a yellow background is editable. You will also be able to change these settings later.

  1. What is the title of your site?
    Site title will be visible in all sections of your site.
    siteHeading
  2. What is your name?
    Your name will be put in the copyright notice in the footer of yout site. You can leave it blank.
    ownerName
  3. How would you — in one sentence — describe your site?
    This will appear under your site name as an excerpt in search engine results.
    Note: the fields that already have value appear yellow only when you roll over them with your mouse. Click on the text below to edit.
    Personal portfolio built with Berta

Tagz

zem vienas sadaljas, kad nav uzspiests uz konkreta taga - vaidzētu lai atver visus tagus nevis tikai pirmo.

Text wont save in Description

When i input text in the description field of a gallery item, either pasted from word or typed, and then it click save, black lines just appear over the text as if its being processed but it never goes away/completes and as such I cant include text with gallery items.
Using berta 0.7.1 with white template

Template Changes

Hello,

Not sure if there is an issue or I am doing something wrong, but I went to the demo page and started messing around. I added a Shop and added two items to the shop. At this point, I was using the Messy template. I tried to change the template to white, and the items no longer showed up, both in design mode or if I logged out and browsed the site. When I change it back to Messy, the items reappear.

Thanks,
Darren

image upload problem

Image sometimes uploads, but disappears after saving (closing). Also caption field is white for those images. Sometimes closing/opening gallery helps, sometimes not..

Text Format

How can I change color and font size in entries??

Thanks!

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.