Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Warning: strpos() Empty delimiter (while running site on subdomain) #1

Open
digitalbricks opened this issue Jun 12, 2013 · 0 comments
Labels

Comments

@digitalbricks
Copy link

Hello Ralf,

i currently have a website in development running on a subdomain. I use imageTweak and the [[it_gallery]] droplet for resizing images but if i load a page that contains images in the frontent, i get the following PHP warning:

Warning: strpos() [function.strpos]: Empty delimiter in /homepages/(...)/htdocs/web2013/modules/image_tweak/class.filter.php on line 353

(Note: This warning is displayed even the error_reporting() is set to E_NONE in WebsiteBaker settings)

Having this warning, no image is being processed by imageTweak.

After a look at the mentioned file i had the idea that i have to put the subdomain-URL in the imageTweak settings: Admin-Tools --> imageTweak --> Einstellungen --> Domains umschreiben. Having done this setting the warning disappears and the images are scaled and cached correctly. I don't know if the problem is the subdomain or something in imageTweak or the module dependencies. Now it works fine and everything is great. I just want to file this issue for you and others having the same problem.

Best regards
André

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant