Welcome Guest, Not a member yet? Register   Sign In
PyroCMS v0.9.7.4 - an open-source modular general purpose CMS

[eluser]bdegier[/eluser]
I've installed this on my local XAMPP server and it keeps spawning these errors:

Quote:A PHP Error was encountered

Severity: 8192

Message: Assigning the return value of new by reference is deprecated

Filename: libraries/Loader.php

Line Number: 414
A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\pyrocms\application\libraries\Loader.php:414)

Filename: libraries/Session.php

Line Number: 662
A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\pyrocms\application\libraries\Loader.php:414)

Filename: codeigniter/Common.php

Line Number: 360
An Error Was Encountered

Fatal error, is CMS installed?

[eluser]Phil Sturgeon[/eluser]
I am always a dick, don't make it sound like I ever stopped! :-o

[eluser]Phil Sturgeon[/eluser]
[quote author="bdegier" date="1257263835"]I've installed this on my local XAMPP server and it keeps spawning these errors:

Quote:A PHP Error was encountered

Severity: 8192

Message: Assigning the return value of new by reference is deprecated

Filename: libraries/Loader.php

Line Number: 414
A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\pyrocms\application\libraries\Loader.php:414)

Filename: libraries/Session.php

Line Number: 662
A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\pyrocms\application\libraries\Loader.php:414)

Filename: codeigniter/Common.php

Line Number: 360
An Error Was Encountered

Fatal error, is CMS installed?
[/quote]

Two issues here, PyroCMS is currently not getting on so well with PHP 5.3 due to Matchbox replacing the entire Loader.php (which was fixed in CodeIgniter 1.7.2 to support 5.3), AND the installer issue.

Yorick is on the installer, I will try and patch for PHP 5.3 tonight.

Update: Already patched! It was a lot easier than expected. With a manual install and the new codebase, you could be up and running in minutes.

[eluser]n0xie[/eluser]
[quote author="ray73864" date="1257261663"]ok, first bug in this new 0.9.7.

Going through the installer, i get to step 4 with the database creation. I type in the name of the database, and click on 'create database', then when i click on 'finish', it just reloads that step.

I loaded up phpmyadmin and found that it indeed did create the new database, the installer just has a little bug in it that is obviously stopping it from going on any further.

I then chose to just go back to the webpage (since it created the database), and the page comes up with

Quote:An Error Was Encountered

Fatal error, is CMS installed?
[/quote]
Replace the 1-tables.sql file in the installer folder with mine as well as installer_m.php in the installer models folder.

Should work. Patch is submitted Phil.

[eluser]bdegier[/eluser]
[quote author="Phil Sturgeon" date="1257263928"][quote author="bdegier" date="1257263835"]I've installed this on my local XAMPP server and it keeps spawning these errors:

Quote:A PHP Error was encountered

Severity: 8192

Message: Assigning the return value of new by reference is deprecated

Filename: libraries/Loader.php

Line Number: 414
A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\pyrocms\application\libraries\Loader.php:414)

Filename: libraries/Session.php

Line Number: 662
A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\pyrocms\application\libraries\Loader.php:414)

Filename: codeigniter/Common.php

Line Number: 360
An Error Was Encountered

Fatal error, is CMS installed?
[/quote]

Two issues here, PyroCMS is currently not getting on so well with PHP 5.3 due to Matchbox replacing the entire Loader.php (which was fixed in CodeIgniter 1.7.2 to support 5.3), AND the installer issue.

Yorick is on the installer, I will try and patch for PHP 5.3 tonight.

Update: Already patched! It was a lot easier than expected. With a manual install and the new codebase, you could be up and running in minutes.[/quote]
What files shoud I replace and where to download? Tongue

[eluser]Phil Sturgeon[/eluser]
I have been trying to edit these files inline through the GitHub repository frontend, but it seems that feature is broken for now. Can anyone push these fixes if I give them access?

n0xie, you should have access if you want it, to save you time with patch files. You are trusted ;-)

[eluser]Yorick Peterse[/eluser]
[quote author="n0xie" date="1257265699"][quote author="ray73864" date="1257261663"]ok, first bug in this new 0.9.7.

Going through the installer, i get to step 4 with the database creation. I type in the name of the database, and click on 'create database', then when i click on 'finish', it just reloads that step.

I loaded up phpmyadmin and found that it indeed did create the new database, the installer just has a little bug in it that is obviously stopping it from going on any further.

I then chose to just go back to the webpage (since it created the database), and the page comes up with

Quote:An Error Was Encountered

Fatal error, is CMS installed?
[/quote]
Replace the 1-tables.sql file in the installer folder with mine as well as installer_m.php in the installer models folder.

Should work. Patch is submitted Phil.[/quote]

Haha, just when I figured out the problem it appears you've submitted a patch. The problem was being caused by the asset and asset_folder tables being inserted twice since they were in the SQL file two times. I'll take a look at your modified version of the model Smile

EDIT:

Haha, seems Phil was earlier but comitted the changes into a different branch. Tongue

[eluser]Phil Sturgeon[/eluser]
Awesome stuff.

Yorick, can you make the change to application/Loader.php that is listed here? It is a simple change but I cannot make it just yet.

Also, news/controllers/admin.php has ma_length[100] on line 7 which is ofc wrong lol.

[eluser]bdegier[/eluser]
I've made the changes. It will go to the login scree now but after login it crashes my Apache (httpd.exe) server Tongue

[eluser]Phil Sturgeon[/eluser]
I find it hard to believe PyroCMS can take down Apache!

What is your setup? As many details as possible please.




Theme © iAndrew 2016 - Forum software by © MyBB