Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receiving string output without redirection #7

Closed
ozh opened this issue Apr 6, 2013 · 0 comments
Closed

Receiving string output without redirection #7

ozh opened this issue Apr 6, 2013 · 0 comments

Comments

@ozh
Copy link
Member

ozh commented Apr 6, 2013

This is a COPY of Issue 7: Receiving string output without redirection, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

**What steps will reproduce the problem?**
1. Logged into admin on elp.cc
2. Created several test URL's
3. Enter test URL's in Firefox 3.0.11, IE8, Safari.

**What is the expected output? What do you see instead?**
Expected to be redirected to longurl ;)

Instead, elp.cc loads with string(20) "http://lynnepope.net" where elp.cc/1
and string(21) "http://lynnepope.net/" where elp.cc/me

It's giving a 200 header response but no redirect is taking place.

**What version of the product are you using? On what operating system?**
Version 1.1
Apache version  2.0.63

PHP version 5.2.8 (safe mode not on)

MySQL version   4.1.22-standard
(Running database with default charset 'utf8' default collate
'utf8_general_ci')

Operating system Linux (CENTOS 4.7)

**Please provide any additional information below.**
I tested perms on .htaccess by adding other directives that require
mod_rewrite - they all worked.
@ozh ozh closed this as completed Apr 6, 2013
LeoColomb pushed a commit that referenced this issue Nov 28, 2017
PHPUnit 6 compat stuff

In order to make different versions of PHP and PHPUnit coexist, you either need something like this (tests written for PHPUnit 5.7 and prior run on PHPUnit 6), or to force PHPUnit to a different version, see this: f1fd931
dgw pushed a commit to dgw/YOURLS that referenced this issue Feb 27, 2018
Allow character to appear more than once
ozh added a commit that referenced this issue Jan 31, 2021
At this point:

$phpunit
PHP Fatal error:  Uncaught Error: Call to undefined method Aura\Sql\Profiler\Profiler::log() in D:\home\planetozh\ozh.in\includes\functions-debug.php:18
Stack trace:
#0 D:\home\planetozh\ozh.in\includes\class-mysql.php(61): yourls_debug_log('Connected to da...')
#1 D:\home\planetozh\ozh.in\includes\Config\Init.php(151): yourls_db_connect()
#2 D:\home\planetozh\ozh.in\includes\Config\Init.php(57): YOURLS\Config\Init->include_db_files()
#3 D:\home\planetozh\ozh.in\tests\bootstrap.php(41): YOURLS\Config\Init->__construct(Object(YOURLS\Config\InitDefaults))
#4 phar://D:/home/planetozh/phpunit-7.phar/phpunit/Util/FileLoader.php(57): include_once('D:\\home\\planeto...')
#5 phar://D:/home/planetozh/phpunit-7.phar/phpunit/Util/FileLoader.php(45): PHPUnit\Util\FileLoader::load('D:\\home\\planeto...')
#6 phar://D:/home/planetozh/phpunit-7.phar/phpunit/TextUI/Command.php(1058): PHPUnit\Util\FileLoader::checkAndLoad('D:\\home\\planeto...')
#7 phar://D:/home/planetozh/phpunit-7.phar/phpunit/TextUI/Command.php(863): PHPUnit\TextUI\Command-> in D:\home\planetozh\ozh.in\includes\functions-debug.php on line 18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant