e107 v0.7.25 rc1

e107 CMS » Forums » e107 v1.x Support » Installation / Upgrade support << Previous thread | Next thread >>
This thread is now closed
Go to page  1 2 3 4
rgk
Feb 28 2011, 07:06PM
  • e107 Support Team
Registered Member #21870
Joined: Oct 25 2005, 04:07PM
Location: NY
Posts: 1286
lutonwebs, first issue: its a RC, you shouldn't be using it for production websites!

Second, have you debugged anything? [-link-]
Go to top
Website
bjoern
Mar 01 2011, 01:35AM
Registered Member #350
Joined: Oct 21 2002, 04:05PM
Location: Berlin, Germany
Posts: 58
Moc wrote ...
It has been fixed already [-link-]
However, I do advise you to upgrade to PHP5 asap

I'm bugging my provider already...
But the file doesn't fix the problem:
Fatal error: Call to undefined function: stripos() in /home/b/r/brembs.net/html/bjoern/class2.php on line 81
Same error, different line...
Go to top
Website
nlstart
Mar 01 2011, 01:42AM
nlstart
  • e107 Site administrator
  • e107 Core developer
  • e107 Translation Team Leader
Registered Member #29855
Joined: Aug 18 2006, 01:12AM
Location: Utrecht, The Netherlands
Posts: 5488
PHP4 does not support stripos() but strpos()...
Go to top
Website
Moc
Mar 01 2011, 01:55AM
  • e107 Site administrator
  • e107 Security Team
  • e107 Support Team
  • e107 Documentation Team
Registered Member #44563
Joined: Apr 12 2008, 03:01AM
Location: The Netherlands
Posts: 3513
bjoern wrote ...

Moc wrote ...
It has been fixed already [-link-]
However, I do advise you to upgrade to PHP5 asap

I'm bugging my provider already...
But the file doesn't fix the problem:
Fatal error: Call to undefined function: stripos() in /home/b/r/brembs.net/html/bjoern/class2.php on line 81
Same error, different line...


Keep on bugging your provider, as honestly they had over a couple of years to switch by now.

This will solve your error, however its a core modification, which normally I wouldn't advise. Please take note of this.

1. Open up class2.php in a decent code editor like notepad++

2. Go to line 81 where it says:
if(($pos = stripos($_SERVER['PHP_SELF'], ".php/")) !== false) // redirect bad URLs to the correct one.

3. Change it to:
if(($pos = strpos($_SERVER['PHP_SELF'], ".php/")) !== false) // redirect bad URLs to the correct one.


4. Go to line 89 where it says:
$_SERVER['PHP_SELF'] = (($pos = stripos($_SERVER['PHP_SELF'], ".php")) !== false ? substr($_SERVER['PHP_SELF'], 0, $pos+4) : $_SERVER['PHP_SELF']);

5. Change it to:
$_SERVER['PHP_SELF'] = (($pos = strpos($_SERVER['PHP_SELF'], ".php")) !== false ? substr($_SERVER['PHP_SELF'], 0, $pos+4) : $_SERVER['PHP_SELF']);


6. Go to line 564 where it says:
if (($urlport != $PrefSitePort || stripos($PrefSiteBase, $urlbase) === FALSE) && strpos(e_SELF, ADMINDIR) === FALSE)            {

7. Change it to:
if (($urlport != $PrefSitePort || strpos($PrefSiteBase, $urlbase) === FALSE) && strpos(e_SELF, ADMINDIR) === FALSE)            {


Let me know if you get any other/more errors. Please note again that you should upgrade to php5 as soon as possible.
Also note that what I've just advised you to do is not something I recommend, as its changing the core code which brings risks with it.
Go to top
lutonwebs
Mar 01 2011, 03:05AM
Registered Member #46802
Joined: Aug 14 2008, 02:46PM
Posts: 72
@rkg trying the debugging now cheers for links.

Also another WYSIWYG error i have found.

In forum posts on my test sites, any posts made by users is all being squashed together, despite spaces between words and lines etc. And the align buttons still don't work even after resolving the issue of missing icons. Tried 3 browsers, chrome, i.e and firefox, and it happens when making a post on any of the browsers in the forum.

If i turn of WYSIWYG it works fine like it does here.

Rgds.

Gary
Go to top
lutonwebs
Mar 01 2011, 03:15AM
Registered Member #46802
Joined: Aug 14 2008, 02:46PM
Posts: 72
I have the debug info below
PHP Errors:

Warning: strpos(): Empty delimiter, Line 13 of /home/sites/duoeventphotography.com/public_html/e107_themes/Whitespace/fs_functions.php
Warning: strpos(): Empty delimiter, Line 121 of /home/sites/duoeventphotography.com/public_html/e107_themes/Whitespace/fs_functions.php
Warning: strpos(): Empty delimiter, Line 125 of /home/sites/duoeventphotography.com/public_html/e107_themes/Whitespace/fs_functions.php
Warning: Invalid argument supplied for foreach(), Line 122 of /home/sites/duoeventphotography.com/public_html/e107_handlers/sitelinks_class.php
Warning: implode(): Invalid arguments passed, Line 133 of /home/sites/duoeventphotography.com/public_html/e107_handlers/sitelinks_class.php


Here is the lines of code from theme:
line 13:
$link_match = strpos(e_SELF,$tmp[0]);
line 121:
if(!preg_match("/all|item|cat|list/", e_QUERY) && (strpos(e_SELF, str_replace("../", "",$link)) !== false)){
line 125:
if((!$link_qry && !e_QUERY) && (strpos(e_SELF,$link) !== FALSE)){


And lines from e107_handlers
line 122:
foreach ($this->eLinkList['head_menu'] as $key => $link)
line 133:
$text .= implode($style['linkseparator'], $render_link);



Forgot to mention i'm running PHP Version 5.3.5

hope this helps.

chrs,

Gary
[ Edited Mar 01 2011, 03:41AM ]
Go to top
lutonwebs
Mar 01 2011, 03:30AM
Registered Member #46802
Joined: Aug 14 2008, 02:46PM
Posts: 72
rgk wrote ...

lutonwebs, first issue: its a RC, you shouldn't be using it for production websites!



Sorry dude was just following Camerons advice as per the homepage.

"We believe it's stable enough for most experienced users to upgrade immediately."

and as i was having multiple acess denied issues, i fealt it necessary. Every time i went into preferences and saved changes i would get acess denied and it would take around 10 attempts to get the changes to save.

Kind Rgds,

Gary
Go to top
bjoern
Mar 01 2011, 04:12AM
Registered Member #350
Joined: Oct 21 2002, 04:05PM
Location: Berlin, Germany
Posts: 58
Yup, replacing stripos with strpos at these four places worked like a charm, thanks a lot. I'm pretty sure I'll get my provider to move soon.
Thanks again! I love e107!
Go to top
Website
Cienfuegos
Mar 02 2011, 12:06AM
Registered Member #41079
Joined: Nov 07 2007, 10:23AM
Location: Netherlands
Posts: 46
This was very helpfull for me, thanks
Go to top
Javelin
Mar 03 2011, 12:44AM
Registered Member #28358
Joined: Jun 19 2006, 05:35AM
Posts: 190
I have prob's with the WYSIWYG as well.

In the Welcome message the /div 's don't appear to be put in correctly so the text alignment icons just don't work as they should.
It appears that this is also the case in the newspost items as well.

For all those sites that I have put up for non-technical people to administer this is a real issue.
Trying to tell them that you can manually do this in the html is a non-starter.

I wonder if the old Tiny from .24 would work for the interim, has anyone tried ?
Go to top
MikeyGMT
Mar 03 2011, 02:45AM
MikeyGMT
  • e107 Site administrator
  • e107 Documentation Team Leader
Registered Member #5146
Joined: Dec 30 2003, 06:04AM
Location: Swansea, Surf City, Wales!
Posts: 1522
Release notes have been updated re: TinyMCE upgrade/fixes. [-link-]

Changelog details the specific file details [-link-] Grab the files or download the 0.7.25 tarball from the download page.

Remember that it's not yet an official release so test on a test copy of you site first.
Go to top
H3LL
Mar 04 2011, 01:31AM
Registered Member #6565
Joined: May 08 2004, 01:31AM
Posts: 319
Odd one and not sure if it's update related.

New members cannot register (probably Chrome only) and difficulty with Firefox.

Firefox problem:

Had to turn off "Check remote servers when validating email addresses." for it to work. With it on if would not allow valid emails that were also not duplicates of other existing members (Only two test members on the site + Admin). With it off, registration works in Firefox.

Chrome problem:

Claims "username" is already in use pop-up box. On the automatic return to the signup page it has replaced whatever was written in the "Username" field with a 'remembered' password from Chrome - This may be the problem with it reading a remembered password for Username and not the one that is written.

I hope that's clear.

Site: [-link-]

ETA: With Jayya theme - Problem in Chrome not there. Current theme, Frozen, has the "Username: Password: Remember me Signup" displayed in the header. I'm guessing that it's a problem only with the login boxes in the header. This is a feature I would rather not do without (the header, not the bug )


BTW: Before the upgrade registration was " Access Denied", that is why I have no idea whether it's an upgrade issue. VERY pleased the " Access Denied" has gone.

[ Edited Mar 04 2011, 01:44AM ]
Go to top
H3LL
Mar 04 2011, 01:12PM
Registered Member #6565
Joined: May 08 2004, 01:31AM
Posts: 319
Progress so far - (None Really)

I removed the {CUSTOM=login} from the frozen theme theme.php - No difference

I replaced the {CUSTOM=login} with the Online Info login option in the Menu=1 - No difference.

Changed visibility for Online Info so not showing in signup.php and left the {CUSTOM=login} removed - No difference.

I'm out of options.

Chrome insists on adding my saved username (in this case my Admin's username) regardless as to what I type in the box in signup.php, which, of course generated the "username xxxx" in use message.

I, of course can probably work around this using my browser (telling it not to save the login details) but my visitors are not likely to be so patient.

This really needs a fix please.

Anyone?

.
Go to top
MikeyGMT
Mar 05 2011, 02:31AM
MikeyGMT
  • e107 Site administrator
  • e107 Documentation Team Leader
Registered Member #5146
Joined: Dec 30 2003, 06:04AM
Location: Swansea, Surf City, Wales!
Posts: 1522
No problems with chrome or firefox. Both successful. Both Logged in okay.

I turned off "Check remote servers when validating email addresses." ages ago, because I too was getting complaints about not being able to register. I think someone told me it was to do with some servers not responding or taking ages.

I can login and out of your site successfully and as the same user from different browsers at the same time.

Could be cookies in a mess I guess?
Open saved passwords window in the browser and examine the entries.
Clear cache's /temp internet files on browser and site.
What's your limit of signup's per IP address?

Maybe I am not understanding your issue properly.
Go to top
HoriZon
Mar 05 2011, 04:10AM
Registered Member #35162
Joined: Apr 13 2007, 06:21AM
Location: UK
Posts: 162
So what's the verdict any chance of it going final soon?

Not willing to test the RC my self
Go to top
Website
H3LL
Mar 06 2011, 12:11AM
Registered Member #6565
Joined: May 08 2004, 01:31AM
Posts: 319
MikeyGMT wrote ...

No problems with chrome or firefox. Both successful. Both Logged in okay.

I turned off "Check remote servers when validating email addresses." ages ago, because I too was getting complaints about not being able to register. I think someone told me it was to do with some servers not responding or taking ages.

I can login and out of your site successfully and as the same user from different browsers at the same time.

Could be cookies in a mess I guess?
Open saved passwords window in the browser and examine the entries.
Clear cache's /temp internet files on browser and site.
What's your limit of signup's per IP address?

Maybe I am not understanding your issue properly.


Thank you MikeyGMT for taking the time and trouble to check things out. Appreciated.

The issue is only if Chrome has saved your username. It seems to auto-fill and prevent any new username when subscribing again.

Maximum Signups permitted from the same IP address. = 10

Meanwhile, I'll check your other suggestions:

Thanks again.

Go to top
T.S
Mar 06 2011, 04:24AM
Registered Member #8191
Joined: Jun 14 2004, 06:53AM
Posts: 39
to be honest, i was really upset, because the " access denied" issue, which i have been experienced for months. now, because of the "e_SECURITY_LEVEL" feature, i'm able to set the token temporarily to 0. this is still arduous, but it works

keep your great work, thanks.. !
[ Edited Mar 06 2011, 04:26AM ]
Go to top
MikeyGMT
Mar 06 2011, 05:31AM
MikeyGMT
  • e107 Site administrator
  • e107 Documentation Team Leader
Registered Member #5146
Joined: Dec 30 2003, 06:04AM
Location: Swansea, Surf City, Wales!
Posts: 1522
@H3LL really that's a "browser usability issue" rather than anything to do with the site platform. Surely it would behave the same on any username field. The visitor can change the config of the browser or use one they get on better with. I wouldn't worry too much, after all you cannot browser for them!

@T.S Be careful there. I wonder, could it be that your visitors have some spyware which is tripping the e_token switch. Spybot and a good virus checker maybe a god start. Just a thought.
Go to top
T.S
Mar 07 2011, 11:47AM
Registered Member #8191
Joined: Jun 14 2004, 06:53AM
Posts: 39
so it´s better to not have a "define('e_SECURITY_LEVEL', X);" line in the e107_config.php??
Go to top
nlstart
Mar 07 2011, 12:01PM
nlstart
  • e107 Site administrator
  • e107 Core developer
  • e107 Translation Team Leader
Registered Member #29855
Joined: Aug 18 2006, 01:12AM
Location: Utrecht, The Netherlands
Posts: 5488
T.S wrote ...

so it´s better to not have a "define('e_SECURITY_LEVEL', X);" line in the e107_config.php??

If you don't have it defined, the default e_SECURITY_LEVEL will be set to 5.
Go to top
Website
Go to page  1 2 3 4  

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System