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

[eluser]Phil Sturgeon[/eluser]
[quote author="ray73864" date="1243658222"]doesn't seem to have fixed it, when i put that in it stopped all the websites from working, so i then proceeded to set up a vhost for pyrocms to be 'pyrocms.rayherring.net' and then put the url rewrite into a

Code:
$HTTP["host"] == "pyrocms.rayherring.net" {
url.rewrite = (

    "modules/(.+)/controllers/(.+)\.php$" => "/index.php/$1/$2",
    "controllers/(.+)\.php$" => "/index.php/$1",

    "^(.*)$" => "index.php/$1"
)
}

and all i get now is a 404 page if i browse to http://pyrocms.rayherring.net/index.php or an 'It Works' if i leave off the index.php[/quote]

Sorry dude, I do not know enough about lighthttpd to help out much on this one. If I get a chance I will try and set up an environment for this but I can't set a timescale for that as right now things are a bit crazy.


[quote author="Jaggy" date="1243699601"]the issues i got for now is in the product modules with that configuration .. the image doesn't shows up. i will try to fix this later.

the photo are uploaded in the asset/img/products folder .. but somehow the src tag is pointing to a wrong file name. what's in product folder is Photo_4_thumb.jpg and the final html code is <img src="/application/assets/img/products/Photo_4_home.jpg" alt="products/Photo_4_home" />[/quote]

Oh dear! I have not worked much on the products module recently so an error could have been introduced along the way. I have not been able to get GD2 working on my "built in" version of Apache on OS X so image stuff is a bit of a fail right now. Will give it a try on dev.pyrocms.com.

Ticket 41: Products module image upload

[quote author="ray73864" date="1243780056"]this is gonna sound stupid, but how do you actually create a new 'admin' account? I logged in as the demo user, clicked on 'Users', went to add a new user, but know-where could i find how you turn that user account into an admin account.[/quote]

Not stupid at all, I messed up badly there. I used to have create and edit view files, now I have only "form.php". When I merged the files it looks like I overlooked the role field. It has been added back and pushed to master.


[quote author="ray73864" date="1243780056"]Also, when creating a new navigation link, could the auto-addition of 'http://' be removed (or atleast made optional?), as i am trying to add a new link to a telnet address, since the website is for a text-based game, but it keeps appending 'http://' to the beginning of it (causing it to become: http://telnet://stf.mushhosting.net:1701)[/quote]

Fixed that. It was using the CodeIgniter prep_url function which restricts only the http:// protocol. I considered extending the function to check for any protocol but instead I just inserted http:// to the input box by default and then after that PyroCMS doesnt give a damn what you enter.

The whole navigation section needs to be revisted. Right now it is not much of a clean solution and a very unintuative interface.

[quote author="ray73864" date="1243780056"]Another problem i have found ( maybe it is because i am trying to edit the 'home' page using the demo account ) is that when i go to the 'pages' and click 'edit' for the home page, it shows the modifications i have made to it, and apparently saves it to the DB (i have checked the DB, it is definately being saved correctly), however when i go to view the home page on the website, it still shows the default message about making changes to the site please bookmark and look back later.[/quote]

Good to hear caching is working but shame to hear its not wiping. The following line in the admin controller should sort it out but seems not:

Code:
$this->cache->delete('pages_m');

Not sure about that one, works ok for me... Could you run ls -laR application/cache and pastebin me the results?


Messages In This Thread
PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - by El Forum - 05-31-2009, 05:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB