twilio / OpenVBX

OpenVBX is a web-based open source phone system for business.
http://openvbx.org
Other
701 stars 342 forks source link

Edit Flows Page No Styling or Theme #73

Open dberube opened 14 years ago

dberube commented 14 years ago

Out of no where, I went to edit my flow and the page looked like this:

http://share.dtb.me/show/2010-09-07_0109.png

The edit flow page for a flow I created after this problem started happening works fine.

andrewwatson commented 14 years ago

one of your plugins is being naughty (i hope it wasn't one of mine...) and your serialized flow is probably corrupted in the db. vbx doesn't handle that or bad html output from a plugin very well...

dberube commented 14 years ago

Only plugin I have, and it started after I installed it is Scheduler.

This should probably be baked into the platform and not a plugin anyways.

andrewwatson commented 14 years ago

hmm... you might want to contact Kressaty directly about that one... :)

meshout commented 13 years ago

Do not know if you fixed this or not but was having the same problem on the latest release, to fix this for whatever reason the DateTimeZone statement of America/Los_angeles was throwing an error in plugins/timing/applets/timing/ui.php on a default install no plugins.

I corrected this by modifying it to America/Chicago as another valid timezone defined in the php docs at http://www.php.net/manual/en/timezones.america.php.

Once modifying this I believe at line 17 the style for the flow page came back and was valid, I do believe there is one additional reference to the Los_angeles timezone as well in this file.

For what its worth this was also on a fresh LAMP install with ubuntu base from turnkeylinux vmware image.

JarrodStaffen commented 13 years ago

FYI, this issue still continues intermittently with the Scheduling plugin (which includes the timezone fix). This is a very frustrating thing with OpenVBX. I've posted several problems on GetSatisfaction.com about this, and nobody responds.

Gipetto commented 12 years ago

Checking in on this to see if anyone is still having issues. We found that in a few cases this could be tracked back to errant JavaScript in an Applet. The one's I remember failed to properly fire their events on DOM Ready and were borking the page load.

ghost commented 12 years ago

I just did a fresh new install, no plugins and I am having this exact issue, including when trying to edit a flow...

Gipetto commented 12 years ago

Can you tell me:

Thanks!

ghost commented 12 years ago

Actually i figured out a solution (somehow) by setting the timezone in Settings, setting then unsetting mod_rewrite, and making sure the .htaccess and /index.php files had the right folders, at least I think that's what did it, kept trying random things...

wish i had paid attention to all the changes, for re-creating but not sure. My screenshot was almost identical to the one at the top of the thread, but now all the UI is working...

JarrodStaffen commented 12 years ago

Good lord, somebody please figure this out and document it!!!! I am so fed up with this issue and how we get no real documented resolution to it here!!

I have completely deleted my install, even switching servers, made sure not to do anything strange, followed all of the recommendations listed here, and the problem remains. No need for a screenshot, it looks just like the one posted up in the thread.

Geez I am really hating all of this open source crap. It seems to work for people who have time & resources for that, but I am not a skilled programmer and have a business to run.

ghost commented 12 years ago

In Settings >> System Config, change the Time Zone to something other than UTC, preferably the timezone you are in. I think that was the only noteworthy change that I had made. I also made sure the .htaccess file had the right folder that my application was in on the server, but I believe I still had the visual problems regardless of .htaccess.

All the other changes I had made I also undid. If that doesn't fix it, I can try to re-create my solution for you since I didn't do very much, but would need to do a fresh install somewhere... I am not even a php programmer, so I can relate, I am a Ruby/Java/.Net programmer...

Gipetto commented 12 years ago

Stanley,

A lot has changed in OpenVBX since this issue first opened so we need to attack this fresh. If this is related to certain time zones then it might be a PHP issue that we can circumvent, but as of version 1.1 of OpenVBX the default time zone is taken from PHP directly and the list of available time zones is generated by PHP so any time zone selected should be one known by the system.

If you're having the problem I'd like to investigate the state of your install as closely as we can so that we can find the root cause of this.

raiseatree commented 12 years ago

Hi I just wondered if I could pick this issue up again - I've just installed Openvbx and experienced this un-styled page on the Flows screen. All other parts of the app appear to be being displayed correctly.

Please help - can't wait to start using this :)

Gipetto commented 12 years ago

There's an entry at the bottom of this page https://github.com/twilio/OpenVBX/wiki/OpenVBX-Troubleshooting---Common-Issues about fixing missing UI elements. Can you give that a try and see if that helps you?

Where are you hosted?

raiseatree commented 12 years ago

Update: Turns out it didn't seem to fix it unfortunately :( That code was actually already present in the assets/min/config.php

I've put some diagnostic info below to hopefully pinpoint the issue:

It appears all pages render fine apart from when I go to start to create a new flow which is frustrating - screenshots attached.

Another observation I've made is that (some?) javascripts are not being loaded - for example on the Settings page, I can't switch between tabs which is presumably a javascript-led behaviour.

Any help greatly received!

raiseatree commented 12 years ago

http://zecowireless.com/files/one.png http://zecowireless.com/files/two.png http://zecowireless.com/files/three.png http://zecowireless.com/files/four.png (Opened the page that failed to render properly in Firebug)

Gipetto commented 12 years ago

Firebug indicates a 500 server error. Can you find anything in the PHP error log that would indicate a problem?

JarrodStaffen commented 12 years ago

I have the same problem, and it is driving me crazy. I don't know how to check a PHP error log, but I have the same thing in FireBug that raiseatree has. I also have one additional error from FireBug:

"292event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future."

JarrodStaffen commented 12 years ago

By the way Gipetto, I see you asked me some questions 5 months ago. At that point I had given up on OpenVBX. I suppose I still have, as far as using it the way it was supposedly designed. But here goes:

The problem remains.

Gipetto commented 12 years ago

Stanley,

If you're seeing the same 500 error then there's something going wrong on the server. We'll need to see your server logs to be sure of what's actually going on.

Gipetto commented 12 years ago

Oh, and the last entry in Firebug about event.layerX and event.layerY being deprecated is just a warning from chrome about the version of jQuery that is in use. That isn't influencing the error that you're seeing.