Git Product home page Git Product logo

paste's People

Contributors

bobwxc avatar bunder2015 avatar jledun avatar jordansamuel avatar monter avatar natanparmigiano avatar niranda avatar pluieelectrique avatar poblabs avatar pross avatar pvasileff avatar robertfels avatar rosaage avatar thinkverse avatar toeirei avatar wsehl 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

paste's Issues

IRC?

Not so much an issue but..

If you would like to contribute to developing Paste please feel free to find me on IRC.

Without a username or channel isnt impossible? ;)

Ajax error in admin interface

Hi there,

Nice project! One problem for me though... I get:

DataTables warning: table id=pastesTable - Ajax error. For more information about this error, please see http://datatables.net/tn/7

when using the Pastes and Users tabs in the admin interface.

Also: would be good to add that you need to update the domain name since it links to pastethis.in by default.

Getting Error While Installing Paste 2.1

Hi.
Trying To Install Paste 2.1 but getting Error While Installing Paste

Fatal error: Call to undefined function password_hash() in [www]/install/install.php on line 17
Warning: mysqli_query() expects at least 2 parameters, 1 given in [www]/install/install.php on line 202
Warning: Cannot modify header information - headers already sent by (output started at [www]/theme/default/header.php:18) in [www]/theme/default/header.php on line 22
Warning: Cannot modify header information - headers already sent by (output started at [www]/admin/dashboard.php:58) in [www]/admin/dashboard.php on line 150

I Am Using
Apache/2.2.31
PHP 5.3
MySQL 5.5.53

Does not work

Hello, I'm facing a problem after installation. Gives this error, I insert all the correct data to the database, installed version 5.5
PHP version 5.6
Admin panel is operating normally
Paste 2.1 does not work
Paste 2.0 work

Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in D:\Site\OpenServer\domains\clear\index.php on line 194
default

Russian Version/Русская версия
Здравствуйте, я столкнулся с проблемой после установки. Выдает такую ошибку, ввожу все правильные данные для базы данных, установлена 5.5 версия
PHP версии 5.6
Админ панель работает нормально

mode raw

Hello
My raspberry can not read raw mode
gold
On pastebin.com it read very well the raw mode
Have an idea?
thank you

GeSHi is old

PHP error log says:

 PHP Deprecated:  Methods with the same name as their class will not be
 constructors in a future version of PHP;
 GeSHi has a deprecated constructor in includes/geshi.php on line 259

Release Version: 1.0.8.11
Current Version: 1.0.8.13 (?)

I'd link that in as an external dependency.

Got some errors

My instalation of paste throws some errors everytime when a new paste is saved:
array_splice () expects parameter 1 to be array, null given in PASTE/includes/functions.php on line 133
Undefinded variable: ip in PASTE/paste.php on line 77
array_splice() expects parameter 1 to be array, null given in PASTE/includes/functions.php on line 133

emails are not being send from the paste portal

hi,

I have setup a newly created email - and its shows that the email sending is successful on the frontend - but I do not see any emails in my inbox.

Because of which I have to disable the Email Verification option.

paste hashes

Is there any way to change the option from paste id ++ version to hashes instead

It is not possible to register

The registration process doesn't work. It would be nice to be able to register.. the pastebin is much nicer than most others, but we have no way of editing our pasties after they are submitted.

[Feature] Custom avatars, social share, hide emails...

Custom avatars
Upload/remote (URL)/Gravatar

Tweet share
Share a paste to twitter.

No email required
If have verify off have a option to hide email address needed entirely.

Categories
Can set or set for certain language syntax.

Random/Custom ID URL
Have it like Pastebin has now a random URL ID (5gHikn3A etc). And a custom one. Be nice to if add custom have it you can set to register accounts only.

Thanks kind regards, John (WidDosMT).

Request Entity Too Large

Hello,
when im trying to save my paste (about 3mb) i get this error message:
Request Entity Too Large
php memory limit is 512mb, upload limit is 128mb, config upload limit for "PASTE" is 50MB.
Any ideas how to fix this error?

regards

Account Registration Spam

Hello! This could already be a feature and I've glazed over it several times, but I've been having issues with an asshat who creates a few spam accounts everyday on my paste site using burner unverified emails. Now, I don't mind clicking the "delete unverified" button, but I wanna solve the root problem (more or less).

Is there something like reCAPTCHA already set up for use during registration to cut down on spam? Thanks!

Some undefined variables in the error log

Just putting this here so we remember to clean it up:

PHP Notice:  Undefined variable: p_password in /var/www/html/paste/paste.php on line 354
PHP Notice:  Undefined index: mypass in /var/www/html/paste/paste.php on line 386
PHP Notice:  Undefined index: mypass in /var/www/html/paste/paste.php on line 387
PHP Notice:  Undefined variable: p_private_error in /var/www/html/paste/paste.php on line 409

paste from terminal

Hi, first of all thank you for such a nice work done.Kindly guide me is it possible to create output of terminal as paste directly from terminal?Thanks.

[Bug] Cannot add paste with view only once expiration

using v2.1 I'm finding when you set paste expiration as view once the actual submission of the paste uses up that one time view.

Surely either the submission shouldn't count or instead after submission (clicking "paste") then it should direct back to index.php instead of calling the paste id?

Update and theme seams.

Hey i updatte to your last version over git : https:///paste/ and thats happedn

Setup new mysql and hm dont know what ther wrong. will now test reload defaulkt tehme.

Ah and he dont save the config files in admin arena.

Ok the theme problem iwss fixed but he still dont save the config seetings.

yes i upload the old theme and it work. Still need look if the config while saved.

Ok i used now the https://github.com/jordansamuel/PASTE/blob/releases/paste-2.0.zip theme ther is no bug on front site in the css.

But still dont can save config like sitename etc,.

Change Design & Translate?

Hello, can I change PHPASTE also? Color look and text translate into German? The link to phpaste remains in the footer. I just want to adjust to my website.

Thank you for a reply

Guide

I've installed PASTE via sofaculous
Please provide a how to guide for the followings.

  1. Verification mail feature is not working. Please guide how to set up this feature (smtp and all)
  2. Chapcha is not working either
  3. How to reset/edit paste id
  4. How to add custom char to paste id instead of number

Note: I'm new to this and apologize for my limited knowledge, may be the question I'm asking is trivial but still a guidance will be appriciated

password

hello how can a admin see password protected paste?

fb loop

Hi, i setup and enabled fb oauth but when trying to login or register with facebook the site enters in a redirect loop and keeps loading. Does anyone knows a fix? Thanks.

Call to undefined function eregi_replace()

Hi, users are getting a blank page or http 500 error after clicking the register button. i looked into the logs and i have this error:
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function eregi_replace() in /mail/mail.php:24

the thing is that the are more errors in the log, but mostly with php notice: undefined variable. i am using php 7.0.21

No license

This project currently has no license. That makes it proprietary software by default.

ads problem

Text Ads


Notice: Undefined variable: text_ads in ..\admin\ads.php on line 201

Image Ad - (Sidebar)


Notice: Undefined variable: ads_1 in ..\admin\ads.php on line 207

Image Ad (Footer)


Notice: Undefined variable: ads_2 in ..\admin\ads.php on line 214

,,,,,,,????????????

Hello

I have a doubt used the 1.9 and wanted to try out your new project but at the time of registering (install.php) it gives me an error in line 18 problems with "password_hash" could help me. Thanks for everything.

v2.1 fresh install "Incorrect User/Password"

On local, and remote server installations, post install login as admin returns "Incorrect User/Password".
(v2 installs locally without issue, but fails on remote server)
New, standard user registration works.

edit pages

I created a page, and the page looks good but when trying to edit the page i can't do it as it shows me the ID of the page in title, page name and content.. shows only '1' !
I am the only one seeing this? thanks.

Reset/change admin password

I somehow could not remember my admin password, and my attempt to search for an answer didn't help. Is there a way I can change the admin password in mysql, like md5('newpass')? Or any other way?

Completely broken

The Paste web app is completely broken, when you install it, it still redirects you to the install folder and if you login to the admin panel its completely broken and errors mentioning undefined variables are everywhere

Disable Register and Admin can login add a paste

Hi author,

Thank you so much for the PASTE , today i find a solution for note website so i see the PASTE - it's really awesome.

After 1 hour install and setup, i see you should have function disable register because someone use web for private.

Again, thanks for your code.

SQL Injection

Hello, many files have sql injection security vulnerability.

[Feature] Add SQLite support

I would love to host Paste on a raspberry pi and would really love it if you could consider enabling SQLite as a database option.

I really love the interface and it's beautifully built.

Thanks.

Do not pull in all the site config every page

Looking at the code, having this on every site:

$query  = "SELECT * FROM site_info";
$result = mysqli_query($con, $query);

while ($row = mysqli_fetch_array($result)) {
    $title				= Trim($row['title']);
    ........
    $ga					= Trim($row['ga']);
    $additional_scripts	= Trim($row['additional_scripts']);
}

That's putting quite some unneeded load on the database.

  • SELECT * makes the SQL server to search for every column first
  • This makes it impossible to mysqli_prepare()

Undefined functions

My paste installation seems to be spitting out undefined function errors for last_date and functions related to saving recent visitors.

mysqli errors

Getting the following errors directly after install.

Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /var/www/html/paste/admin/dashboard.php on line 387

As well as this at the top of the page
( ! ) Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /var/www/html/paste/admin/dashboard.php on line 95
Call Stack

Time Memory Function Location

1 0.0002 237344 {main}( ) ../dashboard.php:0
2 0.0052 296848 mysqli_fetch_array ( ) ../dashboard.php:95
screen shot 2017-05-09 at 2 26 01 pm

Error 500 after paste validation

Hi!

When I create a Paste, just after the validation, I received an error 500 from server when it try to redirect to index.html.
And the paste isn't created in the database.

Code dedup

For the sake of safety and simplicity move the redundant code into some include files.

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.