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

[eluser]Yorick Peterse[/eluser]
[quote author="ray73864" date="1245172562"][quote author="Phil Sturgeon" date="1245172344"]Ray: Wipe everything in application/cache/modules_m/.[/quote]

Thanks Phil, that fixed my problem. I actually quite like how you have the modules set up for working with, makes it very easy to create a new module... Is there a possibility that you could put up a page on your website detailing the 'details.xml' file?[/quote]

Hm...Cache problems, typical. I smell an utility for PyroCMS that can do much more than just installing it, something like Disk utility (mac) Tongue

[eluser]Phil Sturgeon[/eluser]
A Tools link in the new settings section will have something similar.I have about 5 similtanious projects on the go so will finish some before I start more.

iphone-update.co.uk first, then Helpful Parser for CodeIgniter is a priority, then REST client and THEN a few PyroCMS tickets. It's all go!

[eluser]Yorick Peterse[/eluser]
Ok so I broke Git for some reason. It keeps complaining "everything is up to date" while it's really not. I simply try to commit my changes to my branch and it refuses it. Recreated the branch (deleting both the local and the remote one), even deleted the entire directory, and still it isn't working properly.

It seems that every time I recreate the entire directory and commit the changes it IS working. For example, I delete all the files in the extinguisher directory :

Code:
git rm extinguisher/ -r
git commit -m "Some message"
git push origion extinguisher

And it simply says "Everything up to date", rather than actually comitting the changes. But when I recreate the entire pyrocms directory (deleting everything inside, pulling the master again etc etc) it does commits the changes.

I'm actually about to pick up my computer, drive to Linus Torvalds house and smash it on his head.

[eluser]Yorick Peterse[/eluser]
Problem solved, again I was being a muppet Tongue Anyways, I cleaned up both the master and my own branch to the 2009-06-15 commit.

[eluser]ray73864[/eluser]
ok, i have an idea where the error is coming from now, i changed the database.php file in /pharmacy/ to point to the 'capelcci' database and the website showed up perfectly, but when i changed it back to the 'pharmacy' database, it shows the encoding error.

This makes me think that there is something wrong in the database itself.

I can't work out where though, i ran the nice program 'Beyond Compare' against all the .sql files between the working version 'capelcci' which is running the 2009-06-11 version and the 'pharmacy' version which is running the 2009-06-15 version, but it isn't bringing anything up as being different.

Oh, i also re-downloaded the 2009-06-15 version and used the installer to install it into a fresh clean DB, but it has the same problem coming up with that content encoding error.

[eluser]ray73864[/eluser]
ok, some further information now (i have been through all the commits since the working one '2009-06-11' and have found that the bug that i am experiencing was introduced when the language files were put into the master tree.

from commit id: http://github.com/philsturgeon/pyrocms/c...745acd627c
onwards comes up with the 'Content Encoding Error' problem, however the commits before it all work fine.

to do the test, i downloaded each individual commit, extracted it out into its own directory, ran the installer and told it to install into a new fresh database each time (test, test1, test2, etc...), the last working commit before the one above is: http://github.com/philsturgeon/pyrocms/c...598f40e87c

commit 932e1... does however have it's own problem, which i first experienced in the 2009-06-11 commit:

Code:
Welcome
A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: views/header.php

Line Number: 8
, you are logged in. Log out
Edit Profile | Settings

and then when i refresh the page, everything seems to disappear, except for a few things.

If i then change the page to 'http://localhost/pyrocms3/users/logout.html' it for some reason attempts to redirect to 'http://www.localhostpyrocms3.com', but if i then change that manually back to 'http://localhost/pyrocms3/' the entire page looks fine. It is as if the auto-login of [email protected] is having trouble or something.

But yeah, there are several problems in this post, the most important is the 'Content Encoding Error' though.

Hope this helps.

[eluser]Phil Sturgeon[/eluser]
Fixed the logged out issue in the default theme, that was a silly one.

As for content encoding and the redirect I have no idea. Guys?

[eluser]ray73864[/eluser]
Thanks for that Phil,

with regards to the content encoding, i'm not quite sure, i have narrowed it down to the problem starting when the language files were merged.

What i did was used an old DB from the other site i am working on with the commits from the language commit upwards and the site works fine, however when i use a DB from one of those commits (ie. removing the DB and then having the installer create the DB a fresh) i seem to get the 'Content Encoding Error'.

So i'm not sure if it is a problem with the code or with the db.

[eluser]Phil Sturgeon[/eluser]
I think perhaps that the installer is failing to create the databases as UTF-8 unicode. Yorick, do you know if it will try this?

Other suggestions are GZIP or Firefox issues.

http://www.google.co.uk/search?q=Content...ompression.+

[eluser]ray73864[/eluser]
both the working database and the non-working database are 'utf8_encoded_ci', i even did the options in the first result on that search, things like setting 'network.use-http-cache' to false, refresh and then set back to true.

clearing browser cache, etc...

Internet Explorer 8 also can't get to the page, but it doesn't provide very good reasons as to why it can't.




Theme © iAndrew 2016 - Forum software by © MyBB