Welcome Guest, Not a member yet? Register   Sign In
PyroCMS v0.9.9
#11

[eluser]hugle[/eluser]
some more tips...

I attached a file, where you can see, that some CSS is missing, and I can't see the input:text borders.

Other note is, for example, in demo we have default page pointing to /home

If I rename it to /main, how I can make this /main as default route?
tried:
Code:
$route['default_controller'] = "pages/main";
$route['default_controller'] = "main";
with no luck

thanksSmile
#12

[eluser]wonderbread[/eluser]
Quote:A PHP Error was encountered

Severity: Warning

Message: file_get_contents(application/assets/config/database.php) [function.file-get-contents]: failed to open stream: No such file or directory

Filename: models/installer_m.php

Line Number: 320
After hitting step 4 of the installer.
Using the latest GIT rev.
#13

[eluser]Phil Sturgeon[/eluser]
[quote author="hugle" date="1263791447"]
the INSTALLER still checks galleries dir for 777 permissions
see:
Code:
# application/assets/img/galleries - Not writable
# application/assets/img/products - Not writable
# application/assets/img/staff - Not writable
# application/assets/img/suppliers - Not writable

I thinkg other 3 dirs should be mentioned to CHMOD 777 in INSTELLER file Smile[/quote]

I have fixed the installer and pushed it a few minutes ago, thanks for that. I have removed products, suppliers, staff, etc as they are no longer core or supported modules. I have also added captcha, dwoo and simplepie folders to the install checker.

[quote author="hugle" date="1263791447"]
After install, when I go to :
ADMIN > MODULES > Photos,
I get:
Code:
Error:  Couldn't open the page.
[/quote]

Installation SQL was still inserting galleries table instead of photo_albums so errors would stop AJAXify loading the page correctly. This has been fixed but you will need to clean install.

[quote author="hugle" date="1263791447"]After I try to access the homepage, I get:
Code:
A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/pages.php
Line Number: 73

A PHP Error was encountered
Severity: Warning
Message: Attempt to assign property of non-object
Filename: controllers/pages.php
Line Number: 73
[/quote]

If this is an upgrade and you have cache data present, make sure application/cache/pages_m/* is cleared as it created an incorrect object from cache. Otherwise, I am not sure. Let me know how you got to it so I can try to re-create.

[quote author="hugle" date="1263792111"]I attached a file, where you can see, that some CSS is missing, and I can't see the input:text borders.[/quote]

You're right, that looks like ass. I have been meaning to entirely re-do the navigation form as it all looks terrible. Needs some JavaScript and other work done. badsyntax was on the case but seems to have dropped off the face of the earth.

[quote author="hugle" date="1263792111"]Other note is, for example, in demo we have default page pointing to /home

If I rename it to /main, how I can make this /main as default route?
tried:
Code:
$route['default_controller'] = "pages/main";
$route['default_controller'] = "main";
with no luck[/quote]

This is in application/modules/core/pages/controllers/pages.php

Code:
private $default_segment = 'home';

I could put that in a config file or something, but anywhere it goes in the pages module is dodgy as it will just be overritten. This is not something I support really, unless I can find a clean solution.

[quote author="hugle" date="1263792111"]thanksSmile[/quote]

No, thank YOU. I need people giving me feedback or the project stagnates. If I dont have a list of things to do I just dont do any, so you are helping to keep PyroCMS alive. :-)
#14

[eluser]Phil Sturgeon[/eluser]
Btw I have re-tagged the beta1 to include all these fixes (short of the navigation fix, thats a biggun that I will solve with a re-design when I have time).
#15

[eluser]hugle[/eluser]
okay...it's nice then Smile Smile here we goSmile

Downloaded new tar, it's fresh setup and clean database.

Installation went without a problem Smile

Now the problems:
#1
Code:
After install, when I go to :
ADMIN > MODULES > Photos
and get: Error:  Couldn't open the page.
Still same errorSad


#2
Code:
A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/pages.php
Line Number: 73

A PHP Error was encountered
Severity: Warning
Message: Attempt to assign property of non-object
Filename: controllers/pages.php
Line Number: 73

This one still exists - it was surely clean install Smile

#3
The CSS problem still exists (from last attahment)... (just to mention, I'm sure you know)
I also had problems with default theme, but now it is working Smile

#4
private $default_segment = 'home'; // this seems OK with me Smile

#5
I did a clean install, is it normal that I still get automatically logged in?Smile
just to make sure Smile



and the last #7 (for now):
I think, you remember me having problems with Form Generation Library?Smile
Seems, the problem is with PyroCMS,
let's create a controller, test.php
Code:
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class Test extends Public_Controller {

    function index() {
        var_dump($this);
    }
}

?>

And this one never ends... it keeps loading and loading Sad
it's just fresh install of PyroCMS, no libraries have been upload

P.S. the upper case problem solved!Smile
#16

[eluser]Phil Sturgeon[/eluser]
#1: Instead of loading via AJAXify as links do, enter the URL directly and tell me what you see.

Quote:Eg: http://localhost/pyrocms/admin/photos

#2: Erf... i'll re-install when I get home.

#3: Ignoring attachment for now, default theme works now the theme name is passed to my new Asset library.

#5: Yeah thats fine. Same login details and cookie are set so if the install is in the same place then it will keep you logged in even after a re-install.

#7: Don't output $this, the recursion effect is caused by references within the super-global pointing back to itself. You say no libraries are loaded but autoloaded is Asset, database, settings, template, etc. I can't help with this one until v0.9.8 is done and out the door, sorry dude.
#17

[eluser]hugle[/eluser]
[quote author="Phil Sturgeon" date="1263846717"]#1: Instead of loading via AJAXify as links do, enter the URL directly and tell me what you see.

Quote:Eg: http://localhost/pyrocms/admin/photos

#2: Erf... i'll re-install when I get home.

#3: Ignoring attachment for now, default theme works now the theme name is passed to my new Asset library.

#5: Yeah thats fine. Same login details and cookie are set so if the install is in the same place then it will keep you logged in even after a re-install.

#7: Don't output $this, the recursion effect is caused by references within the super-global pointing back to itself. You say no libraries are loaded but autoloaded is Asset, database, settings, template, etc. I can't help with this one until v0.9.8 is done and out the door, sorry dude.[/quote]

#1 I get:
Code:
A Database Error Occurred

Error Number: 1054

Unknown column 'p.album_id' in 'on clause'

SELECT pa.*, COUNT(p.id) AS num_photos FROM (photo_albums pa) LEFT JOIN photos p ON pa.id = p.album_id GROUP BY pa.slug

#3 - no problemSmile

#7 - I see. Thanks anyway mate. At least in 0.9.8 I can get errors array from Forms Generation Library Smile

so far can't find any more problems. we need more ppl to test it out Smile
#18

[eluser]Phil Sturgeon[/eluser]
#1 (photo album error) and #2 (error at the top of pages) both sorted in the latest re-tag.

Im going to stop retagging now, I feel dirty... Sick
#19

[eluser]Unknown[/eluser]
That's great news!Your work has been very useful, thanks a lot for you time and effort!i will download and test it.
#20

[eluser]kilishan[/eluser]
I downloaded the Beta1 from github and hit a snag on step 4 of the installer. Went to insert the sql in manually in phpMyAdmin and found an error on line 34 of 2-default-data.sql that was killing it. Looks like there was 1 too few values in there. Here's the line that worked for me:

Code:
INSERT INTO `pages` VALUES
  (1,'home','Home','Welcome to our homepage. We have not quite finished setting up our website just yet, but please add us to your bookmarks and come back soon.',0,1,'','','','','','1219336535');




Theme © iAndrew 2016 - Forum software by © MyBB